Skip to main content

Practice · 5 of 5

The Longest Clean Streak

CHALLENGE
Difficulty: advanced+25 XP

**Bài toán.** Given a lowercase string, print the length of the longest substring in which no character repeats. **Constraints:** 1 ≤ |s| ≤ 200000. **Output:** one integer.

Back to lesson: Practice: Observation Drill — Five Hidden Structures