Pregunta de entrevista de IBM

Simple linked list based question