give string s return maximum number ocurrence substring follow rulesThe number unique character substre equal maxlettersthe substring size minSize maxsize inclusive Example 1input s aababcaab maxletter 2 minSize 3 maxsize 4output 2explanation Substring aab 2 ocurrence original stringit satisfie condition 2 unique letter size 3 minSize maxsizeexample 2input s aaaa maxletters 1 minSize 3 maxsize 3output 2explanation Substring aaa occur 2 time stre it overlap Constraints1 slength 1051 maxletters 261 minSize maxsize min26 slength consist lowercase english letter