摘要: https://leetcode.com/problems/minimum-size-subarray-sum/#/solutions Since the given array contains only positive integers, the subarray sum can only i 阅读全文
posted @ 2017-06-29 18:06 apanda009 阅读(187) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/valid-perfect-square/#/solutions 数学问题常考虑是否越界, 用long? 阅读全文
posted @ 2017-06-29 10:25 apanda009 阅读(133) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/search-a-2d-matrix/#/solutions 考点只有一个:2D array 降维成 1D array 的 index trick. 阅读全文
posted @ 2017-06-29 10:10 apanda009 阅读(161) 评论(0) 推荐(0) 编辑