We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48c7bab commit e31390fCopy full SHA for e31390f
Data-Structures/Linked-List/CycleDetection.js
@@ -15,6 +15,7 @@ function main () {
15
16
Link for the Problem: https://leetcode.com/problems/linked-list-cycle/
17
*/
18
+ const head = '' // Reference to head is given in the problem. So please ignore this line
19
let fast = head
20
let slow = head
21
0 commit comments