Pregunta de entrevista de Bloomberg

Question (mid level) on linked lists