Vivek Gupta's submission of Array Transform | CodeChef