Domanda di colloquio di Sigma Computing

It was a tree traversal problem.