Longest Substring Without Repeating CharactersMedium
hash tablestringsliding window
Find the length of the longest substring of s with no repeated character.
Three approaches, same problem — switch between them and watch the window expand, shrink, and jump.