会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
AceKo
博客园
首页
新随笔
联系
订阅
管理
随笔 - 144
文章 - 1
评论 - 0
阅读 -
23965
[置顶]
LeetCode编程总结
摘要: # 1、在有序表中查找两数组指定的和,双指针法# 2、滑动窗口 : 连续子数组之和# 3、二分查找 : 顺序数组中查找特定的值# 4、递归程序的真正的构建是从底向上的,这就是为什么递归终止条件要写在最前面# 参见 反转链表的递归程序 LeetCode206# 5、 链表归并排序的递归过程,要好好体会
阅读全文
posted @ 2019-03-17 14:46 AceKo
阅读(479)
评论(0)
推荐(0)
2019年3月21日
单例设计模式
摘要: 一、单例设计模式的技术概要 1、私有的够高函数 2、暴露 public 的外部 getInstance 方法 二、单例设计模式的演化 1、单线版 (基础版) 2、多线程版(同步机制 、锁) 3、多线程版 (若已创建 、 不用加同步锁) 4、静态代码块 (静态的成员函数 ) -> (静态代码块 和 静
阅读全文
posted @ 2019-03-21 15:25 AceKo
阅读(107)
评论(0)
推荐(0)
2019年3月19日
链表_leetcode445
摘要: # Definition for singly-linked list.class ListNode(object): def __init__(self, x): self.val = x self.next = Noneclass Solution(object): def addTwoNumb
阅读全文
posted @ 2019-03-19 11:03 AceKo
阅读(128)
评论(0)
推荐(0)
链表_leetcode328
摘要: # Definition for singly-linked list.class ListNode(object): def __init__(self, x): self.val = x self.next = Noneclass Solution(object): def oddEvenLis
阅读全文
posted @ 2019-03-19 11:02 AceKo
阅读(111)
评论(0)
推荐(0)
链表_leetcode237
摘要: # Definition for singly-linked list.# class ListNode(object):# def __init__(self, x):# self.val = x# self.next = Noneclass Solution(object): def delet
阅读全文
posted @ 2019-03-19 11:02 AceKo
阅读(101)
评论(0)
推荐(0)
链表_leetcode234
摘要: # Definition for singly-linked list.# class ListNode(object):# def __init__(self, x):# self.val = x# self.next = Noneclass Solution(object): def isPal
阅读全文
posted @ 2019-03-19 11:01 AceKo
阅读(90)
评论(0)
推荐(0)
链表_leetcode206
摘要: # Definition for singly-linked list.# class ListNode(object):# def __init__(self, x):# self.val = x# self.next = Noneclass Solution(object): def rever
阅读全文
posted @ 2019-03-19 11:00 AceKo
阅读(99)
评论(0)
推荐(0)
链表_leetcode203
摘要: # Definition for singly-linked list.class ListNode(object): def __init__(self, x): self.val = x self.next = Noneclass Solution(object): def removeElem
阅读全文
posted @ 2019-03-19 10:59 AceKo
阅读(117)
评论(0)
推荐(0)
链表_leetcode148-链表归并排序
摘要: # Definition for singly-linked list.class ListNode: def __init__(self, x): self.val = x self.next = Noneclass Solution: def sortList(self, head): """
阅读全文
posted @ 2019-03-19 10:58 AceKo
阅读(161)
评论(0)
推荐(0)
链表_leetcode147
摘要: # Definition for singly-linked list.class ListNode(object): def __init__(self, x): self.val = x self.next = Noneclass Solution(object): def insertionS
阅读全文
posted @ 2019-03-19 10:57 AceKo
阅读(121)
评论(0)
推荐(0)
链表_leetcode143
摘要: # Definition for singly-linked list.class ListNode(object): def __init__(self, x): self.val = x self.next = Noneclass Solution(object): def reorderLis
阅读全文
posted @ 2019-03-19 10:56 AceKo
阅读(176)
评论(0)
推荐(0)
下一页
公告
昵称:
AceKo
园龄:
10年4个月
粉丝:
0
关注:
36
<
2025年7月
>
日
一
二
三
四
五
六
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
点击右上角即可分享