Pregunta de entrevista de Gainsight

Tree with recursion with given data?