Problem
Given a strings, find the length of the longest substring without duplicate characters.
Examples
Constraints
- 0 <= s.length <= 5 * 10^4
- s consists of English letters, digits, symbols and spaces.
Tested Python solution for LeetCode 3 with 13 pytest cases. Generate a practice environment with lcpy.
s, find the length of the longest substring without duplicate characters.