以下链接的文档中涉及了滑动窗口及优化的滑动窗口,感觉和之前学过的KMP算法思维有相似之处:
https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/solution/wu-zhong-fu-zi-fu-de-zui-chang-zi-chuan-by-leetcod/
无重复字符的最长子串
最新推荐文章于 2024-11-27 00:06:06 发布
以下链接的文档中涉及了滑动窗口及优化的滑动窗口,感觉和之前学过的KMP算法思维有相似之处:
https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/solution/wu-zhong-fu-zi-fu-de-zui-chang-zi-chuan-by-leetcod/