Maximum Depth of Binary Tree

Solution Code
Verifying access...

Time Complexity

O(N)

Space Complexity

O(N)