Domanda di colloquio di Infosys

Asked one programming question. Question related to linked list