Gemini Solutions Interview Question

Detect loop in a linked list