Java 1D Array (Part 2)

  • + 1 comment

    From index 1,how can u take a leap 5? As per question, lead can be added only if the destination value is zero. But here, (index1) 0 + 5 (leap) = 1(index 5) -where the destination value is not zero. Then, how can this move be possible?