Cisco Interview Question

linked list loop detection