Purple Squirrel interview question

Detect a loop in a linked list.