package leetcode;

/**
 * https://leetcode.com/problems/maximum-binary-string-after-change/
 */
public class Problem1702 {
    public String maximumBinaryString(String binary) {
        // TODO
        return null;
    }

    public static void main(String[] args) {
        Problem1702 prob = new Problem1702();
        System.out.println(prob.maximumBinaryString("000110")); // "111011"
        System.out.println(prob.maximumBinaryString("01")); // "01"
    }
}


@@ -440,21 +440,601 @@
 g(%220
-1%22)); // %2201%22
+000110%22)); // %221111011%22%0A        System.out.println(prob.maximumBinaryString(%2201%22)); // %2201%22%0A        System.out.println(prob.maximumBinaryString(%22100011001010101001%22)); // %22111111111101111111%22%0A        System.out.println(prob.maximumBinaryString(%221000111100101011101%22)); // %221111111101111111111%22%0A        System.out.println(prob.maximumBinaryString(%2201010101010101%22)); // 11111101111111%0A        System.out.println(prob.maximumBinaryString(%220101%22)); // 1011%0A        System.out.println(prob.maximumBinaryString(%221111%22)); // 1111%0A        System.out.println(prob.maximumBinaryString(%220000%22)); // 1110
 %0A   

Update problem 1702