Tesco Interview Question

Find and remove loop in linkedlist