Pregunta de entrevista de Nutanix

I had to debug a code based on Linked List.