Pregunta de entrevista de Infosys

DSA Question about linked list, Trees