Cisco Interview Question

How to detect repeated nodes in linked list