Question d’entretien chez Meta

Converting a sorted array into binary search tree