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