Available question text
Given an m×n grid of '(' and ')', determine whether there exists a down/right path from the top-left to bottom-right whose concatenated characters form a valid parentheses string. The core challenge is exploring paths while tracking a feasible parentheses balance (never negative and zero at the end), typically handled by DP/BFS over positions augmented with balance and aggressive pruning.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2267. Check if There Is a Valid Parentheses String Path
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source