We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1a3e19 commit 3ab272dCopy full SHA for 3ab272d
Data-Structures/Linked-List/CycleDetection.js
@@ -22,7 +22,7 @@ function main () {
22
while (fast != null && fast.next != null && slow != null) {
23
fast = fast.next.next
24
slow = slow.next
25
- if (fast == slow) {
+ if (fast === slow) {
26
return true
27
}
28
0 commit comments