Maximum Depth of Binary Tree

ID: 104; easy

Solution 1 (Golang)

Solution 2 (Java)

Notes

  • Recursion with divide and conquer

Solution 3 (Java)

Notes

  • Recursion with traversal

Last updated

Was this helpful?