Quote:
Originally Posted by KliPPy
What do you exactly mean by "rotate"? Show an (or a few) example input and output, don't explain with code.
|
Its a common "google" search actually and Rotate an Array is an acceptable definition, here is what it does in layman's terms.
It rotates the items in an array, so that the first item in the list "0" becomes the last, and all other items are moved down by one to the lesser index.
__________________