Question d’entretien chez Amazon

merge array, and validate binary tree