Write a function which takes a binary tree and returns a mirror image of the same.
For ex-
For ex-
- Code:
Input Output
1 1
2 3 3 2
Input Output
1 1
2 3 3 2
Similar topics
Permissions in this forum:
You cannot reply to topics in this forum
|
|