leetcode 862
Shortest Subarray with Sum at Least K
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, return -1.
Ex...
原创
2020-03-05 08:42:08 ·
288 阅读 ·
0 评论