mehikmat / solution

0 stars 0 forks source link

Java program to rotate an array by n possitions #1

Open mehikmat opened 9 years ago

mehikmat commented 9 years ago

Write a function that takes an array of integers and returns that array rotated by N positions. For example, if N=2, given the input array [1, 2, 3, 4, 5, 6] the function should return [5, 6, 1, 2, 3, 4]

mehikmat commented 9 years ago

Completed