Skip to content

Three reversals for rotation [mp]

Micro pattern

Description

Rotate an array by reversing the whole array and then each partition around the rotation boundary.

Problems