Domanda di colloquio di Bloomberg

Hackerrank coding. Not about balancing a binary tree, more technical and useful.