Reversal Algorithm Animation

Step 0: Initial Array
We start with the initial array [1, 2, 3, 4, 5, 6, 7] and we want to rotate it by k=3 positions.