Practice
Learn
← Quit
0 / 0 correct
Algorithms
Medium
1 of 40
What technique finds the longest substring without repeating characters in O(n)?
A
Brute force over all substrings
B
Sorting the string
C
A sliding window with a map of each character's last seen index
D
Divide and conquer