Challenge: Copy Mirror Tree
Let’s copy a binary tree such that it mirrors the original tree.
Problem
Given a binary tree, copy its values to create another tree that is a mirror image of the original tree.
Input
A binary tree.
Output
A new ...
Let’s copy a binary tree such that it mirrors the original tree.
Given a binary tree, copy its values to create another tree that is a mirror image of the original tree.
A binary tree.
A new ...