Pregunta de entrevista de Microsoft

balanced bst tree question. average level.