Cisco interview question

common elements in two linked lists