Question d’entretien chez Amazon

It was a binary tree related question