python
linlih
这个作者很懒,什么都没留下…
展开
-
python学习记录
numpy中的array是左闭右开的 eg. a = np.array[2, 10, 2] 输出结果为: [2 4 6 8]原创 2017-06-09 18:21:57 · 191 阅读 · 0 评论 -
MIT 6.006 Algorithms Lecture1
MIT Course 6.006原创 2017-10-14 18:50:34 · 795 阅读 · 0 评论 -
MIT 6.006 Algorithm Lecture 7
ADT : abstract data type,抽象数据类型comparison model 对比模型 1、all input items are black boxes 2、only operation allowed are comparisons 3、time cost = comparsionsDecision TreeSearch lower bound why the time原创 2017-11-12 18:34:10 · 326 阅读 · 0 评论 -
算法导论-散列表-MIT6.006 Lecture 8
Abstract Data Type(ADT)用一个key来保存对应的item内容 有几个操作: 1.insert 2.delelte 3.search key原创 2017-11-25 20:09:30 · 280 阅读 · 0 评论 -
MIT 6.006 Algorithm Lecture 9
Grow Table 1.Create a new table 2.rehash the whole data into the new tableTable doubling!Amortization:string matchint: we can use hashing make it just using constant timeKarp-Rabin string matching原创 2018-01-20 21:34:59 · 312 阅读 · 0 评论