
leetcode
caleb_072350
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
滑动窗口处理字符串--LeetCode003 Longest SubString without repeating characters
这篇博文主要是为了记录滑动窗口处理字符串的问题,主要参考了两篇文章,如有侵权,请联系我 csdn:https://blog.youkuaiyun.com/LVGAOYANH/article/details/77187899 github:https://github.com/liuyubobobo/Play-Leetcode/blob/master/0003-Longest-Substring-Witho...原创 2019-04-05 11:10:03 · 203 阅读 · 0 评论 -
leetcode-- Longest Substring Without Repeating Characters
给了我们一个字符串,让我们求最长的无重复字符的子串,注意这里是子串,不是子序列,所以必须是连续的。我们先不考虑代码怎么实现,如果给一个例子中的例子"abcabcbb",让你手动找无重复字符的子串,该怎么找。博主会一个字符一个字符的遍历,比如a,b,c,然后又出现了一个a,那么此时就应该去掉第一次出现的a,然后继续往后,又出现了一个b,则应该去掉第一次出现的b,以此类推,最终发现最长的...转载 2019-03-28 23:26:50 · 87 阅读 · 0 评论 -
leetcode--Next Permutation
问题描述 Implement next permutation,which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possible,it must rearrange it as the lowest possib...原创 2019-04-16 22:30:10 · 130 阅读 · 0 评论