View Single Post
Marcus101RR
Veteran Member
Join Date: Aug 2009
Location: Tampa, FL
Old 09-13-2016 , 17:02   Re: Rotating an Array?
Reply With Quote #4

Quote:
Originally Posted by KliPPy View Post
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.
__________________
Marcus101RR is offline
Send a message via AIM to Marcus101RR Send a message via Skype™ to Marcus101RR