摘要: class Solution(object): def merge(self, nums1, m, nums2, n): """ :type nums1: List[int] :type m: int :type nums2: List[int] :type n: int :rtype: vo... 阅读全文
posted @ 2017-12-30 20:59 PirateLHX 阅读(121) 评论(0) 推荐(0)
摘要: class Solution(object): def deleteDuplicates(self, head): """ :type head: ListNode :rtype: ListNode """ tmp=head while tmp: while tmp.n... 阅读全文
posted @ 2017-12-30 20:29 PirateLHX 阅读(106) 评论(0) 推荐(0)
摘要: Description You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct way 阅读全文
posted @ 2017-12-30 20:08 PirateLHX 阅读(146) 评论(0) 推荐(0)