Sandeep Singh's submission of Rich Substrings | CodeChef