max-depth-nary-depth-convention

Status: IN

Depth is 1-indexed across tree problems: a single-node tree returns 1, an empty tree returns 0.

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

JSON