摘要:
https://leetcode.com/problems/minimum-size-subarray-sum/#/solutions Since the given array contains only positive integers, the subarray sum can only i 阅读全文
摘要:
https://leetcode.com/problems/valid-perfect-square/#/solutions 数学问题常考虑是否越界, 用long? 阅读全文
摘要:
https://leetcode.com/problems/search-a-2d-matrix/#/solutions 考点只有一个:2D array 降维成 1D array 的 index trick. 阅读全文