Given a string s, find the length of the longest substring without repeating characters.
s
Example
"abcabcbb" => 3 // "abc" "bbbbb" => 1 // "b" "pwwkew" => 3 // "wke"
function LengthOfLongestSubstring(s: string) -> int
Found a bug? Or annoyed about something in the language? Tell us.