DSA Key Problems

Linked List Cycle

Given the head of a singly linked list, determine whether following next pointers eventually revisits a node.