字符串和数组
fantow
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode题解 -- 字符串和数组(1371)
Find the Longest Substring Containing Vowels in Even CountsGiven the string s, return the size of the longest substring containing each vowel an even number of times. That is, ‘a’, ‘e’, ‘i’, ‘o’, and...原创 2020-03-12 11:16:31 · 532 阅读 · 1 评论 -
LeetCode题解 -- 字符串和数组(560)
Subarray Sum Equals KGiven an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k.方法一:Presum时间复杂度:O(n^2)空间复杂度:O(n) public int su...原创 2020-03-11 21:43:45 · 194 阅读 · 0 评论
分享