Longest Substring Without Repeats
Medium๐ท๏ธ Sliding window๐ Two Pointers & Sliding Window
๐งฉ The problem
Return the length of the longest substring that has no repeated characters.
Examples
"abcabcbb" โ 3 ("abc")
๐ฏ Aim for: O(n) time
โ๏ธ Write your solution
Pick a language, press Run to try it, then Run tests to check it against every test case โ just like a coding interview.