rohan's submission of Crazy Substrings | CodeChef