What is a circular sorted array?

I have seen this on the Internet. What is a circular sorted array?

+6
arrays data-structures
source share
1 answer

This usually refers to an array in which elements are sorted, but can be rotated. For example:

4 5 6 7 1 2 3 

The elements here, ( 1 2 3 4 5 6 7 ), are "in order", but they rotate left by three.

+15
source share

All Articles