Arrays: Left Rotation

  • + 1 comment

    Nah I did not add anything except changed the gived codes from a [a_i] = in.nextInt() to a[((n- (k%n))+a_i)%n] = in.nextInt()