23andMe Interview Question

Detect and remove loop in a linked list.