package leetcode;

/**
 * https://leetcode.com/problems/minimum-add-to-make-parentheses-valid/
 */
public class Problem921 {
    public int minAddToMakeValid(String S) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem921 prob = new Problem921();
    }
}

@@ -293,16 +293,274 @@
 m921();%0A
+        System.out.println(prob.minAddToMakeValid(%22())%22)); // 1%0A        System.out.println(prob.minAddToMakeValid(%22(((%22)); // 3%0A        System.out.println(prob.minAddToMakeValid(%22()%22)); // 0%0A        System.out.println(prob.minAddToMakeValid(%22()))((%22)); // 4%0A
     %7D%0A%7D%0A

Update problem 921