Amazon Interview Question

Find if there is a cycle on a linked list