Minimum Remove to Make Valid Parentheses at Meta
Medium71.3% acceptance
This problem has 100.0% frequency at Meta.
Problem Description
Given a string s of `'('` , `')'` and lowercase English characters. Your task is to remove the minimum number of parentheses ( `'('` or `')'`, in any positions ) so that the resulting _parentheses string_ is valid and return **any** valid string. Formally, a _parentheses string_ is valid if and on...
Read full problem and hintsTopics
Also asked at 12 companies
More Meta Questions
Valid Palindrome IIEasySimplify PathMediumValid PalindromeEasyBasic Calculator IIMediumLongest Common PrefixEasy
View all Meta questions