Write a function that takes root by reference and creates mirror image of the given tree node* mir(node* root) Original tree: Root=1 Root->right=3 Root->left=2 Root->left->left=4 Root->left->right=5 Root->left->right->left=6 Root->left->right->right=7 New tree: Root=1 Root->right=2 Root->left=3 Root->right->right=4 Root->right->left=5 Root->right->left->right=6 Root->right->left->left=7
Hmmm... This is a tough one :(
We need the Motivation and Support! 💪
Our expert tutor in charge of answering this question
needs a cup of coffee to get pumped!
And unlock the solution to this question.