You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Suppose you have taken some values in an array of any size. For example, array1 = [5, 2, 3 ,1, 9, 4].
Now your friend requesting you to shift array values one cell to the right side (Right Shift). As per the request of your friend the array1 will be now [4, 5, 2, 3, 1, 9].
Note: The array values and size will be defined by user.
Sample Input 9 3 8 2 7 1
Sample Output 1 9 3 8 2 7
* @author Md. Alamin (alamin5g@yahoo.com)
* I would love be a software engineer at Google. That is why anybody can uses this code without any condition, if you face any difficulty, then try to email me.