Question d’entretien chez NXP Semiconductors

Q. How do you reverse a binary tree(Python)?