Array
Icoding_F2014
相信代码可以变化世界
展开
-
leetcode: 连续子串和/积的相关题目汇总及总结
560. Subarray Sum Equals K题目Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k.Example 1:Input:nums = [1,1,1], k = 2Ou...原创 2019-12-08 20:50:41 · 429 阅读 · 0 评论 -
Leetcode 排列相关的题目
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 possible or...原创 2019-09-05 08:44:37 · 202 阅读 · 0 评论