Capgemini interview question

Technical: Detect Cycle in a doubly linked list.