Leetcode 301. Remove Invalid Parentheses
Given a string containing letters and parentheses, remove the minimum number of parentheses to produce all distinct valid parentheses strings and return them. The core challenge is to search the space of deletions (ensuring minimal removals and uniqueness) while efficiently pruning invalid or duplicate candidates.
Asked at:
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Early May, 2025
Meta
Staff
Late April, 2025
Meta
Mid-level
Mid April, 2025
Meta
Mid-level
Your account is free and you can post anonymously if you choose.