Question d’entretien chez TuSimple

write an algorithm to Reverse a Binary tree