Dinesh Goyal's submission of Squared Subsequences | CodeChef