Dinesh Goyal's submission of Query on Array | CodeChef