Pergunta de entrevista da empresa T. Rowe Price

Reverse a binary tree, explain how you would refactor something. Design patterns