DIY: Minimum Remove to Make Valid Parentheses
Solve the interview question "Minimum Remove to Make Valid Parentheses" in this lesson.
We'll cover the following
You are given a string with matched and unmatched parentheses. You have to remove the minimum number of parentheses to have only matching parentheses in the string.