Java 1D Array (Part 2)

  • [deleted]
    + 0 comments

    A leap of 5 from index 1 will take you off the end of the array, thus you win.

    [1] visited
    [0] we're here
    [0] + 1
    [1] + 2
    [1] + 3
    [1] + 4
        + 5