BlackRock interview question

Find if a linked list is cyclic