Sollicitatievraag bij Google

basic tree implementation, and a weirder medium difficulty one afterwards