Longest Substring Without Repeating — sliding window
Grow the window to the right. If the new letter repeats one already inside, slide the left edge in until it doesn't.
Try:
← Prev
Next →
▶ Play
Reset
window length
0
longest so far
0