Pregunta de entrevista de Publicis Sapient

Finding common elements in linked list