Pregunta de entrevista de Credit Karma

construct a tree from file