-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlearning_notes.txt
More file actions
58 lines (43 loc) · 1.23 KB
/
learning_notes.txt
File metadata and controls
58 lines (43 loc) · 1.23 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
DataStructure learning notes
felix huang
Using:Problem Solving with Algorthms and Data Structures using Python
From: interactivepython.org/runestone/static/pythonds/index.html
Day1
#第一天收获如此巨大
学会了github的用法,初步做到本地和github同步
当然更重要的是完全自己独立看英文网站学习的
数据结构-Python描述,真是一本python必看的书。刚学会基本语法看正好
哈哈哈哈
Day2
好好练习每一课的代码,
收获很大
一共约110节,一天练习3节,一个多月就学完啦,真快啊
Day3-Stack
Stack 结构练习结束,总结如下:
1)构建Stack时,push()把数据提交到List的最后,因为这样速度更快。
2)Stack特点是先入先出,FIFO;数据只从顶部操作。
3)Stack 方法:
isEmpth()
push()
pop()
peek()
size()
2017/5/9
这几天学习了 Queue Dequeue
Queue 方法
__init__()
isEmpty()
size()
enqueue()
outqueue()
Dequeue 方法
Dqueue()
is_empty()
size()
peek_front()
peek_rear()
remove_front()
remove_rear()
add_front()
add_rear()
数据结构首先是为了更好的思考,因此操作需要考虑实际需要。另外,不能让一个结构有太多的操作,不然让思考变的复杂了。