Longest Substring Without Repeating Characters
Medium
Sliding Window
Grind 75NeetCode 150marc30
Given a string s, find the length of the longest substring without repeating characters.

Constraints:

  • 0 <= s.length <= 5 * 104
  • s consists of English letters, digits, symbols and spaces