Qualcomm interview question

Find a cycle in a linked list.