Pergunta de entrevista da empresa Google

Write a code to construct a binary tree that is a mirror of the given binary tree.