Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Left circular rotation of an array

Language: Layout:
+ ] Show input
Compilation time: 0,28 sec, absolute running time: 0,44 sec, cpu time: 0,45 sec, average memory usage: 18 Mb, average nr of threads: 3, absolute service time: 0,77 sec 
edit mode |  history  | discussion
The array is : 1 2 3 4 5 6 
array after left shift :  2 3 4 5 6 1 


The array is : 2 4 6 8 
array after left shift :  4 6 8 2