Amazon Interview Question

Detect Cycle in a Linked List: Using Floyd’s Tortoise and Hare algorithm.