Purple Squirrel Interview Question

Detect a loop in a linked list.