Function to find the maximum count of unique substrings by splitting a string into maximum number of unique substrings
public int maxUniqueSplit ( String S ) { return maxUnique ( S , new HashSet < String > ( ) ) ; }