Pregunta de entrevista de Microsoft

a few tree problems (binary and otherwise)