Check if two tree are mirror?
Answers
Answered by
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
HOPE THIS WILL HELP YOU
sonu8088:
hi
Similar questions
Math,
7 months ago
Social Sciences,
7 months ago
English,
7 months ago
Science,
1 year ago
Accountancy,
1 year ago
Chemistry,
1 year ago
Physics,
1 year ago