Domanda di colloquio di Google

basic tree implementation, and a weirder medium difficulty one afterwards