letcode挑战1新手讲解向,找出字符串中不重复的最长字串
题目
给定一个字符串s,找出其中间隔最长的不重复字符的长度。
原题目:
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.
Example 2:
Input: s = "bbbbb"
原创
2021-04-14 00:08:42 ·
172 阅读 ·
1 评论