Question d’entretien chez Bloomberg

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