Pergunta de entrevista da empresa Outgive

They asked me to inverse a binary tree.