Dinesh Goyal's submission of Array Swaps | CodeChef