Write a C++ function that will invert (mirror) a binary tree.

Write a C++ function that will invert (mirror) a binary tree.

From the BCIC Assistant Programer (CSE) 2022 – Written (BUET) exam, question 51 of 56.

More from this paper