Hacker News new | ask | show | jobs
by tomjohnson3 3713 days ago
ironic that his reverse function is incorrect.
1 comments

Yes, 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.