Microsoft Interview Question

Detect a loop in linked list.