Pregunta de entrevista de Infosys

Asked one programming question. Question related to linked list