![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
滑动窗口
张小白不白
博采众长,厚积薄发
展开
-
3.无重复字符的最大长度
题目给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。示例 1:输入: “abcabcbb”输出: 3解释: 因为无重复字符的最长子串是 “abc”,所以其长度为 3。示例 2:输入: “bbbbb”输出: 1解释: 因为无重复字符的最长子串是 “b”,所以其长度为 1。示例 3:输入: “pwwkew”输出: 3解释: 因为无重复字符的最长子串是 “wke...原创 2019-11-12 17:15:19 · 198 阅读 · 0 评论 -
滑动窗口法n个相邻数乘积的最大值
滑动窗口法n个相邻数乘积的最大值题目The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832.731671765313306249192251196744265747423553491949349698352031277450632623...原创 2019-08-07 11:11:34 · 495 阅读 · 0 评论