Rotate the given array in cycles

Rotate the given array in cycles

More to explore

Based on this image's title: “Rotate the given array in cycles