摘要: // 求 和最大的连续子序列class Solution: # @param A, a list of integers # @return an integer def maxSubArray(self, A): dp=[] for i in rang... 阅读全文
posted @ 2014-08-28 14:42 clq.lib 阅读(626) 评论(0) 推荐(0) 编辑
摘要: class Solution: # @param matrix, a list of lists of integers # @param target, an integer # @return a boolean def searchMatrix(self, matrix... 阅读全文
posted @ 2014-08-28 10:22 clq.lib 阅读(258) 评论(0) 推荐(0) 编辑