Pregunta de entrevista de Google

Mostly about data structures, tree traversals.