Sollicitatievraag bij Foundation Devices

Write a function that can detect a cycle in a linked list.