Google | Phone | Balance Parentheses
Anonymous User
1305

Given a string that contains only '(' and ')'. Return a string that is balanced. The problem is literally this https://leetcode.com/problems/minimum-add-to-make-parentheses-valid/ except that you have to return the balanced string instead of the count.

Comments (6)