medium
strings
sliding-window
hashmap
Given a string s, find the length of the longest substring without repeating characters.
Examples
Example 1
Input: s = "abcabcbb"
Output: 3
Example 2
Input: s = "bbbbb"
Output: 1
Example 3
Input: s = "pwwkew"
Output: 3
Running will execute all 3 cases.