3. Longest Substring Without Repeating Characters
https://leetcode.com/problems/longest-substring-without-repeating-characters/
Problem
Given a string s
, find the length of the longest substring without repeating characters.
Example 1:
Example 2:
Example 3:
Example 4:
Constraints:
0 <= s.length <= 5 * 104
s
consists of English letters, digits, symbols and spaces.
Solution
#hash
Last updated
Was this helpful?