Pregunta de entrevista de Amazon

Binary tree questions with depth search coding exercise