摘要: # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def addTwoNumbers(self, l1: ListNode, l2:... 阅读全文
posted @ 2019-04-17 22:48 灰灰的一只鸟 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 一、配置pycharm 点击create API,添加自己的github账号,切记将clone git 那个对勾去掉,不然会报: Successfully created project ‘…’ on GitHub, but initial push failed: Could not read f 阅读全文
posted @ 2019-04-17 20:36 灰灰的一只鸟 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 方法一时间复杂度为O(n2) 方法二时间复杂度为O(n) 阅读全文
posted @ 2019-04-17 20:16 灰灰的一只鸟 阅读(143) 评论(0) 推荐(0) 编辑