Pregunta de entrevista de Splunk

Basic LinkedList question using reverse concept