Meta interview question

In a string with some random open and close parenthesis, How to remove parenthesis to get a max balanced string

Interview Answer

Anonymous

9 Mar 2024

I didn't get the correct answer within time