Pergunta de entrevista da empresa Google

A basic tree algorithm with different node definition