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