Back to course home
0% completed
Vote For New Content
Time complexity
Utkarsh Gupta
Jan 27, 2024
How come the time complexity is 2^n? Should it be 2 ^ (n*n) ?
0
0
Comments
Comments
Shubham Voraa year ago
The time complexity of the maxUniqueSplit method can be analyzed as follows:
-
Recursive Calls: The function recursively explores all possible substrings. For each substring, it branches into further recursive calls with different start positions.
-
**Numb...