Maximum Depth of Binary Tree
Problem
Input: root = [3,9,20,null,null,15,7] Output: 3Input: root = [1,null,2] Output: 2
Pseudocode
Solution
Time and Space Complexity
Time
Space
Last updated
