摘要: 题目: map和set可不可以组合呢,想了想好像也可以,set只负责判断包含,map的存,删,随机取,都可以O(1),有待验证 阅读全文
posted @ 2017-08-22 17:52 stAr_1 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 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 @ 2017-08-22 14:28 stAr_1 阅读(124) 评论(0) 推荐(0) 编辑