Skip to main content
Loading page content
Algo
Flow
Visualizers
Mental Math
Dashboard
Log in
Sign up
Back to Visualizer
Question 1 of 5
Rearrangement
• Right Rotation
What does a right rotation by k positions do to an array?
A
Shifts every element k positions to the left
B
Shifts every element k positions to the right and wraps around
C
Sorts the array in descending order
D
Removes the last k elements