Cisco interview question

Find duplicates in linked list.