/oDeskAssignment

Java rotation utility. Rotates an integer array by specific index in reverse order

Primary LanguageJava

oDeskAssignment

Java rotation utility. Rotates an integer array by specific index in reverse order

to run the program, download ArrayRotator.jar, then open command line and write

java -jar ArrayRotator.jar 1,2,3,4,5,6 2

The command above will rotate the givin array at index 2

If you need to view the code, checkout the project and import into eclipse editor

To run test cases, execute the following command on command line

java -cp ./ArrayRotator.jar odesk.assignment.test.TestRunner