Question d’entretien chez Expedia Group

Mirror a binary tree and write linear code