package leetcode;

/**
 * https://leetcode.com/problems/longest-well-performing-interval/
 */
public class Problem1124 {
    public int longestWPI(int[] hours) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem1124 prob = new Problem1124();
        System.out.println(prob.longestWPI(new int[]{9,9,6,0,6,6,9})); // 3
    }
}

@@ -363,16 +363,99 @@
 ); // 3%0A
+        System.out.println(prob.longestWPI(new int%5B%5D%7B8,6,9,9,10,9,0,6,6,9%7D)); // 9%0A
     %7D%0A%7D%0A

Update problem 1124