Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 226 Bytes

longeststring.md

File metadata and controls

9 lines (7 loc) · 226 Bytes

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

Example 1:

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