Pregunta de entrevista de Rocket Software

Tree based question . How to create directory structure using linked list