Microsoft interview question

Linked list has cycle