Arm interview question

Detect a loop in linked list and remove that loop