摘要: 问题: 给定数组,求所有连续子数组的最小值之和。 若所得之数太大,求其mod(10^9 + 7) Example 1: Input: [3,1,2,4] Output: 17 Explanation: Subarrays are [3], [1], [2], [4], [3,1], [1,2], [ 阅读全文
posted @ 2020-05-18 15:58 habibah_chang 阅读(137) 评论(0) 推荐(0) 编辑