3.longest-substring-without-repeating-characters

Example 3:

Input: s = “pwwkew”
Output: 3
Explanation: The answer is “wke”, with the length of 3.
Notice that the answer must be a substring, “pwke” is a subsequence and not a substring.

substring: need continuous char
subsequence: can have others between the chars