Question d’entretien chez Amazon

copy a binary tree and two behavior questions