package leetcode;

/**
 * https://leetcode.com/problems/prison-cells-after-n-days/
 */
public class Problem957 {
    public int[] prisonAfterNDays(int[] cells, int N) {
        // TODO
        return null;
    }

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

@@ -295,16 +295,245 @@
 m957();%0A
+        System.out.println(prob.prisonAfterNDays(new int%5B%5D%7B0, 1, 0, 1, 1, 0, 0, 1%7D, 7)); // %5B0,0,1,1,0,0,0,0%5D%0A        System.out.println(prob.prisonAfterNDays(new int%5B%5D%7B1, 0, 0, 1, 0, 0, 1, 0%7D, 1000000000)); // %5B0,0,1,1,1,1,1,0%5D%0A
     %7D%0A%7D%0A

Update problem 957