4 ms·
ironic that his reverse function is incorrect.
by tomjohnson3 10y ago
ironic that his reverse function is incorrect.
- terio 10y agoYes, he missed the base case for recursion. Also, the first definition of symmetric tree is wrong. One more appropriate would say that the left branch is the mirror image of the right branch.
- deleted 10y ago[deleted]