Agoda Interview Question

Q: Detect a loop within a linked list