Java 1D Array (Part 2)

  • + 1 comment

    @RodneyShag

    Could you please explain why the recursive function will perform all these 3 steps. It should perform just 1 because others are in "OR". So it should be either to one position forward, or direct to the (index+leap) position or 1 step backword.

    Could you pleae explain the working of that return statement.