Science, asked by junedahmad347, 1 year ago

Check if two tree are mirror?

Answers

Answered by sonu8088
0
Iterative method to check if two trees are mirror of each other. Given two binary tress. The problem is to check whether thetwo binary tress are mirrors of each other or not. Mirror of a Binary Tree: Mirror of a BinaryTree T is another Binary TreeM(T) with left and right children of all non-leaf nodes interchanged.
HOPE THIS WILL HELP YOU

sonu8088: hi
sonu8088: please follow me
Similar questions