Cisco Interview Question

common elements in two linked lists