Tree: Depth-First Search - Maximum Depth of Binary Tree
You are given a binary tree and need to find the longest path from the root node down to the farthest leaf node. Which algorithmic approach guarantees an optimal solution to determine this maximum depth?
