Frage im Vorstellungsgespräch bei Google

basic tree implementation, and a weirder medium difficulty one afterwards