Ankit Kumar's submission of All Substrings | CodeChef