摘要: 问题: 给定一个数组,求连续元素之和在给定范围[lower, upper]之间的,连续idx为(i~j)元素组个数。 Note: A naive algorithm of O(n2) is trivial. You MUST do better than that. Example: Input: 阅读全文
posted @ 2020-08-05 13:44 habibah_chang 阅读(132) 评论(0) 推荐(0) 编辑