Pulkit garg's submission of All Substrings | CodeChef