
slidingwindow
文章平均质量分 79
jialuyyy
这个作者很懒,什么都没留下…
展开
-
Minimum Size Subarray Sum
Minimum Size Subarray Sum Given an array of n positive integers and a positive integer s, find the minimal length of a subarray of which the sum ≥ s. If there isn't one, return 0 inst原创 2015-06-21 01:59:41 · 188 阅读 · 0 评论 -
sliding window
A long array A[] is given to you. There is a sliding window of size w which is moving from the very left of the array to the very right. You can only see the w numbers in the window. Each time the转载 2015-06-05 06:14:50 · 309 阅读 · 0 评论