![](https://img-blog.csdnimg.cn/8fe3ce8aaeab43b58a593981704f169b.jpeg?x-oss-process=image/resize,m_fixed,h_224,w_224)
滑动窗口
文章平均质量分 87
滑动窗口
呵呵哒( ̄▽ ̄)"
喜欢分享学习笔记,并不一定是正确的,阶段性的学习成果做一下记录,欢迎一起交流讨论,也希望有错误的地方可以向我提出,我会虚心接受并纠正
展开
-
leetCode 76. 最小覆盖子串 + 滑动窗口 + 哈希Hash
leetCode 76. 最小覆盖子串 + 滑动窗口 + 图解(详细)-CSDN博客。本文就是参考该作者的解题思路做的 C++版本!76. 最小覆盖子串 - 力扣(LeetCode)76. 最小覆盖子串 - 力扣(LeetCode)原创 2023-10-28 11:33:42 · 172 阅读 · 0 评论 -
leetCode 76. 最小覆盖子串 + 滑动窗口 + Hash + 图解(详细)
给你一个s、一个t。返回 s中涵盖t所有字符的最小子串。如果 s中不存在涵盖 t所有字符的子串,则返回""tts"BANC"最小覆盖子串 "BANC" 包含来自字符串 t 的 'A'、'B' 和 'C'"a"整个字符串 s 是最小覆盖子串""t 中两个字符 'a' 均应包含在 s 的子串中,因此没有符合条件的子字符串,返回空字符串。原创 2023-10-26 21:19:18 · 505 阅读 · 0 评论 -
leetCode 30.串联所有单词的子串
它是 words 中以 ["the","foo","bar"] 顺序排列的连接。它是 words 中以 ["foo","bar","the"] 顺序排列的连接。它是 words 中以 ["bar","the","foo"] 顺序排列的连接。因为 words.length == 3 并且 words[i].length == 3,所以串联子串的长度必须为 9。它是 words 中以 ["bar","foo"] 顺序排列的连接。它是 words 中以 ["foo","bar"] 顺序排列的连接。原创 2023-10-22 21:49:10 · 225 阅读 · 0 评论