Question d’entretien chez Bloomberg

Write the code to implement a binary tree