Array Rotation
Time complexity: O(n).
Extra space: O(1) for the reversal approach.
An extra-array approach is simpler but requires O(n) additional space.
For very large k, k % n avoids unnecessary rotations.
The direction of rotation must be defined clearly.