Capgemini Interview Question

detect cycle in linked lists. and how to break them