摘要: Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. If there isn't 阅读全文
posted @ 2020-06-11 07:57 Review->Improve 阅读(195) 评论(0) 推荐(0) 编辑
摘要: Return the length of the shortest, non-empty, contiguous subarray of A with sum at least K. If there is no non-empty subarray with sum at least K, ret 阅读全文
posted @ 2020-06-11 07:49 Review->Improve 阅读(396) 评论(0) 推荐(0) 编辑