Skip to content

Commit 0df2b0f

Browse files
committed
refactor Linked List Cycle
1 parent 787c43c commit 0df2b0f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

go/linked_list_cycle.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//lint:file-ignore U1000 Ignore all unused code
22
package main
33

4-
// `https://github.com/ryo-devz/LeetCode/pull/1#discussion_r1710718113`に書かれているとおり、印をつける方法はデメリットが大きい
54
func hasCycleFloyd(head *ListNode) bool {
65
slow, fast := head, head
76
for fast != nil && fast.Next != nil {

0 commit comments

Comments
 (0)