package leetcode;

/**
 * https://leetcode.com/problems/count-binary-substrings/
 */
public class Problem696 {
    public int countBinarySubstrings(String s) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem696 prob = new Problem696();
        System.out.println(prob.countBinarySubstrings("00110011")); // 6
        System.out.println(prob.countBinarySubstrings("10101")); // 4
    }
}

@@ -426,16 +426,156 @@
 ); // 4%0A
+        System.out.println(prob.countBinarySubstrings(%220011%22)); // 2%0A        System.out.println(prob.countBinarySubstrings(%22000111%22)); // 3%0A
     %7D%0A%7D%0A

Update problem 696