text: Recursive function to find the count of substrings that can be splitted starting from the index start such that all the substrings are present in the map
code: void findSubStr ( string str , int cnt , int start ) {