BINARY TREE INVERSION

can anyone share the iterative solution to this problem in c++ language ?