Java 1D Array (Part 2)

  • + 1 comment

    Your code fails on the following test case:

    1
    18 4
    0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1