Hacker Rank : Algorithms  : Arrays and Sorting : Game of Rotation