Function to find the maximum count of unique substrings by splitting a string into maximum number of unique substrings
function maxUniqueSplit ( S ) { var st = new Set ( ) ; return maxUnique ( S , st ) ; }