Status: IN
Short-circuit evaluation of `not stack or stack.pop() != match[ch]` guarantees `pop` is never called on an empty list; a lone closer like `")"` returns `False` without raising `IndexError`.
Source: entries/2026/06/06/valid-parentheses-solution.md
JSON