Minimum Remove to Make Valid Parentheses
Try to solve the Minimum Remove to Make Valid Parentheses problem.
We'll cover the following
Statement
Given a string, s
, that may have
Constraints:
-
s.length
s[i]
is either an opening parenthesis , a closing parenthesiss , or a lowercase English letter.
Examples
Create a free account to view this lesson.
Continue your learning journey with a 14-day free trial.
By signing up, you agree to Educative's Terms of Service and Privacy Policy