Leetcode #104 Maximum Depth of Binary Tree
This question can be solved via recursion depth first search.
Keep track of the max depth.
Traverse left sub tree then traverse right sub tree - increase the depth each level.
Link: Maximum Depth of Binary Tree
/**
* Definition for a binary tree nod...
michelletanpy.hashnode.dev1 min read