package leetcode;

/**
 * https://leetcode.com/problems/bulb-switcher-iv/
 */
public class Problem1529 {
    public int minFlips(String target) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem1529 prob = new Problem1529();
        System.out.println(prob.minFlips("10111")); // 3
        System.out.println(prob.minFlips("101")); // 3
        System.out.println(prob.minFlips("00000")); // 0
        System.out.println(prob.minFlips("001011101")); // 5
    }
}

@@ -501,16 +501,190 @@
 ); // 5%0A
+        System.out.println(prob.minFlips(%22100100%22)); // 4%0A        System.out.println(prob.minFlips(%22100100%22)); // 4%0A        System.out.println(prob.minFlips(%22100111%22)); // 3%0A
     %7D%0A%7D%0A

Update problem 1529