Glovo interview question

Create a function to test a linked list for a cycle.