if the corresponding nodes in the two traversal have different data values , then they are not mirrors of each other .
if ( root1 -> data != root2 -> data ) return " No " ; st1 . push ( root1 ) ; st2 . push ( root2 ) ; root1 = root1 -> left ; root2 = root2 -> right ; }