package leetcode;

/**
 * https://leetcode.com/problems/partition-array-into-disjoint-intervals/
 */
public class Problem915 {
    public int partitionDisjoint(int[] A) {
        // TODO
        return 0;
    }

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

@@ -294,16 +294,186 @@
 m915();%0A
+        System.out.println(prob.partitionDisjoint(new int%5B%5D%7B5, 0, 3, 8, 6%7D)); // 3%0A        System.out.println(prob.partitionDisjoint(new int%5B%5D%7B1, 1, 1, 0, 6, 12%7D)); // 4%0A
     %7D%0A%7D%0A

Update problem 915