Ritesh kumar's submission of All Substrings | CodeChef