max-depth-single-pass

Status: IN

`maxDepth` makes exactly one character-by-character pass over the input string in O(n) time.

Source: entries/2026/06/06/maximum-nesting-depth-of-the-parentheses-solution.md

JSON