maxdepth-none-returns-zero

Status: IN

`maxDepth(None)` returns `0`, establishing that depth counts nodes on the path, not edges (a single node has depth 1).

Source: entries/2026/06/06/maximum-depth-of-binary-tree-solution.md

JSON