Search posts, tags, users, and pages
Given the head of a linked list, determine if the linked list has a cycle in it. A cycle exists if there is some node in the list that can be reached again by continuously following the next pointer.
tracelit
@tracelit
Markdown supported · ⌘↵ to post
No responses yet.