Amazon Interview Question

Find duplicate elements from the given two linked lists.