package leetcode;

/**
 * https://leetcode.com/problems/flip-string-to-monotone-increasing/
 */
public class Problem926 {
    public int minFlipsMonoIncr(String S) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem926 prob = new Problem926();
        System.out.println(prob.minFlipsMonoIncr("00110")); // 1
        System.out.println(prob.minFlipsMonoIncr("010110")); // 2
        System.out.println(prob.minFlipsMonoIncr("00011000")); // 2
        System.out.println(prob.minFlipsMonoIncr("0100111")); // 1
    }
}

@@ -551,20 +551,284 @@
 11%22)); // 1%0A
+        System.out.println(prob.minFlipsMonoIncr(%22100100111%22)); // 2%0A        System.out.println(prob.minFlipsMonoIncr(%2200001%22)); // 0%0A        System.out.println(prob.minFlipsMonoIncr(%2211110%22)); // 1%0A        System.out.println(prob.minFlipsMonoIncr(%2211100%22)); // 2%0A
     %7D%0A%7D%0A

Update problem 926