PHP
Daily Leetcode Solution
Login To Post Your Comment
27 comments
Caleb Akeju
15 hours ago
Add the same tree twice, check if the left side is same with the right side and if the right side is same as the left side recursively.
Think about it, when you look at the mirror, your left side becomes your right side and vice versa.
Load More...