Pregunta de entrevista de Amazon

Solve a problem involving linked lists