Convert binary tree to mirror/symmetric tree in java (recursive /example)
What is binary tree?
A tree data structure in which a node can at maximum two children. Binary Tree can have have one child or two children. Node in binary Tree can have following structure
Node having one child
Left child
Right child
Node having two children
Both Left and right child