Skip to content

Commit 3ab272d

Browse files
committed
Style Changed
1 parent b1a3e19 commit 3ab272d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data-Structures/Linked-List/CycleDetection.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function main () {
2222
while (fast != null && fast.next != null && slow != null) {
2323
fast = fast.next.next
2424
slow = slow.next
25-
if (fast == slow) {
25+
if (fast === slow) {
2626
return true
2727
}
2828
}

0 commit comments

Comments
 (0)