Oracle interview question

Detect a cycle in a linked list.