Pregunta de entrevista de Amazon

Find duplicate elements from the given two linked lists.