Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

Given a string, find the length of the longest substring without repeating characters.


Example 1:

Code Block
Input: "abcabcbb"
Output: 3 
Explanation: The answer is "abc", with the length of 3. 

...