HPR interview question

Cycle detection in a linked list