https://www.hackerrank.com/challenges/ctci-array-left-rotation/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=arrays
#Task 3
Input :
5 4
1 2 3 4 5
output:
5 1 2 3 4
#Task 3
Input :
5 4
1 2 3 4 5
output:
5 1 2 3 4
HackerRank
Arrays: Left Rotation | HackerRank
Given an array and a number, d, perform d left rotations on the array.