[leetcode] longest substring without repeating characters

题目地址:c++ https://leetcode.com/problems/longest-substring-without-repeating-characters/description/web 题目的意思很简单,也很好理解,就是找到字符串中最长且不重复的子串的长度。svg 方法一: 思路:遍历字符串,从第一个开始,而后日后查找,若是找到重复的,记录下当前不重复子串的长度,退出当前循环,状
相关文章
相关标签/搜索