valid-parentheses-final-stack-empty-check

Status: IN

The final `return not stack` is required to reject inputs with unmatched openers (e.g., `"("`); without it, any string whose closers all match would pass regardless of leftover openers.

Source: entries/2026/06/06/valid-parentheses-solution.md

JSON