Pregunta de entrevista de Adobe

Tree based questions.