Problem 1752 · Easy

Check if Array Is Sorted and Rotated

Decide whether an array is a rotation of a nondecreasing array.

Open the interactive visualisation