AlgoMaster Logo

Minimum Remove to Make Valid Parentheses

s=lee(t(c)o)de)
0 / 29
algomaster.io
Step:Use a stack of indices of unmatched '(' to find what to remove.