摘要: 动态规划class Solution: # @param triangle, a list of lists of integers # @return an integer def minimumTotal(self, triangle): depth=len(tr... 阅读全文
posted @ 2014-10-10 18:43 clq.lib 阅读(159) 评论(0) 推荐(0)
摘要: # Definition for singly-linked list.class ListNode: def __init__(self, x): self.val = x self.next = Noneclass Solution: # @para... 阅读全文
posted @ 2014-10-10 17:45 clq.lib 阅读(123) 评论(0) 推荐(0)