Recursive DFS practice:
Same Tree: • LeetCode 100: Same Tree | Recursion & Dept...
Max Depth of Binary Tree: • LeetCode 104: Maximum Depth of Binary Tree...
0:00 Problem overview
0:43 Code walkthrough
Correction:
1:42 In the LeetCode environment, you need to call self.invertTree instead
#programming #algorithms #coding