Domanda di colloquio di Google

Phone interview. Solve Tree problem and array