S
All challenges
Practice
Home
Blog
Practice
Examples
Feedback
Longest Substring Without Repeating Characters
00:00
Start
00:00
Sign in
Problem
Hints
History
Medium
Sliding Window
Return the length of the longest substring without repeating characters.
Examples
Example 1
Input →
abcabcbb
Output →
3
Example 2
Input →
bbbbb
Output →
1
Example 3
Input →
pwwkew
Output →
3
JavaScript
Reset
Run
Submit
Cases
Results