Split a String Into the Max Number of Unique Substrings

Given a string s, return the maximum number of unique substrings you can split it into. Each substring must be unique (no duplicates).

Examples
Input: "ababccc"
Output: 5
Hints

Split a String Into the Max Number of Unique Substrings

Given a string s, return the maximum number of unique substrings you can split it into. Each substring must be unique (no duplicates).