Mental Model
Rotating an array means moving its elements so that some elements shift to the front or back, like a circle.
Analogy: Imagine a merry-go-round with seats numbered 1 to 5. Rotating the array is like spinning the merry-go-round so the seat numbers shift positions but stay in a circle.
Array: [1, 2, 3, 4, 5] Rotation by 2 to the right: Before: 1 -> 2 -> 3 -> 4 -> 5 After: 4 -> 5 -> 1 -> 2 -> 3
