Thread: sequences
View Single Post
  #2 (permalink)  
Old January 28th, 2007, 09:44 PM
albraham123 albraham123 is offline
Registered User
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what u need is the data structure algorithm, image u store each element into a single room, then rotate the room to left, just like left shift it. Ex: room[0] = 1, room[1] = 2, room[2] = 3, then output it as room[2]room[1]room[0] = 321.
There may be better solutions, i just suggest one of it.

Reply With Quote