Microsoft Interview Question

Linked list has cycle