Return the length of the longest substring without repeating characters. Variant **#30**.
Example 1
Input: s = "abcdefab"
Output: 6
Constraints
Acceptance: 61% · Topics: sliding-window, hash-table, string
← All practice problems