#1231Medium· asked at 3 companies
Minimum number of bracket reversals to make an expression balanced
Hosted on GeeksforGeeks
Solve it on GeeksforGeeks, track it here.
This problem's full statement lives on GeeksforGeeks. Open it in a new tab, then come back to mark it solved, add notes and keep your streak.
Can't open the problem?
Most company-tagged problems are behind Premium. If you have ChatGPT Plus or Claude Pro, ask it for the full statement, examples and constraints. The buttons below open a chat with the prompt already filled in.