> For the complete documentation index, see [llms.txt](https://zedive.gitbook.io/project-l/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zedive.gitbook.io/project-l/part-1/basic_data_structure/array_and_string/rotated-array.md).

# Rotated Array

When kind operations can you do in array with constant space?

We can `swap(arr[a], arr[b])` and `reverse(arr)`.
