tushar gupta's submission of Squared Subsequences | CodeChef