We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 787c43c commit 0df2b0fCopy full SHA for 0df2b0f
go/linked_list_cycle.go
@@ -1,7 +1,6 @@
1
//lint:file-ignore U1000 Ignore all unused code
2
package main
3
4
-// `https://github.com/ryo-devz/LeetCode/pull/1#discussion_r1710718113`に書かれているとおり、印をつける方法はデメリットが大きい
5
func hasCycleFloyd(head *ListNode) bool {
6
slow, fast := head, head
7
for fast != nil && fast.Next != nil {
0 commit comments