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