Commit graph

44 commits

Author SHA1 Message Date
Yudong Jin
7d14c9440e Unify the function naming of
queue from `offer()` to `push()`
2023-02-02 01:43:01 +08:00
nuomi1
a0ee691475
fix: resolve build error for commit 5eae708 (#318) 2023-02-02 00:23:48 +08:00
Yudong Jin
7ce7386bab Add Zig code blocks. 2023-02-01 22:03:04 +08:00
Yudong Jin
5eae708035 Fix array queue. 2023-02-01 03:23:29 +08:00
Yudong Jin
eb0afc98ec Number the H1 and H2 headings. 2023-01-31 03:37:50 +08:00
beintentional
3858048d0f
更新队列的链表实现中 self.__front 判空的方式 (#297)
* 更新队列的链表实现中 self.__front 判空的方式

self.__front 初始化为 None, 元素入队判断队列是否为空,延用头节点的初始化值 None 而不是 0

* Update linkedlist_queue.py

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-01-28 00:30:37 +08:00
Yudong Jin
90ee88ccf5 Update stack, queue, space_time_tradeoff 2023-01-19 02:04:21 +08:00
Yudong Jin
37e0fbfd26 Merge branch 'master' of github.com:krahets/hello-algo 2023-01-14 19:52:27 +08:00
Yudong Jin
bb657f9517 Add destructors to the C++ codes. 2023-01-14 19:52:11 +08:00
nuomi1
007fbff65f
docs: add comments of the complexity to queue and deque 2023-01-14 10:17:22 +08:00
Yudong Jin
2a35aab8e7
Merge branch 'master' into feature/queue-Swift 2023-01-13 00:52:03 +08:00
Yudong Jin
d0e5406f0c
Merge branch 'master' into heap-dev 2023-01-12 04:11:22 +08:00
nuomi1
99f1494939
feat: add Swift codes for queue article 2023-01-11 23:48:10 +08:00
Yudong Jin
6b3c87399b Add time complexity in stack, queue, deque. Update heap. 2023-01-09 02:17:40 +08:00
reanon
0243957015 doc(code): modify go code in docs 2023-01-08 20:33:30 +08:00
Yudong Jin
73e3452838 Add Swift language blocks to the docs. 2023-01-08 19:41:05 +08:00
Yudong Jin
694ea4f665 Modify 。** to **。 for better visualization. 2023-01-07 20:34:32 +08:00
Yudong Jin
fd3eaaf3fd Update stack.md and queue.md 2023-01-05 01:59:31 +08:00
Yudong Jin
410c5d6b62 Free memory after removing
a node from a LinkedList or TreeNode.
2023-01-02 19:53:55 +08:00
Yudong Jin
8733557f00 Update C# code. 2022-12-24 17:05:58 +08:00
zhuzhiqing
a427cb1b4d 完善所以c#相关的文档和代码 2022-12-23 15:42:02 +08:00
Yudong Jin
f39636cb63 Update the structure of the chapter
of binary tree.
2022-12-21 17:19:39 +08:00
Yudong Jin
f3ef226874 Remove the spaces between “ ” and 中文 aside. 2022-12-21 01:37:58 +08:00
Yudong Jin
7283bbaf6f Update the chapter of stack and queue. 2022-12-20 21:33:14 +08:00
Yudong Jin
9bbb0e9466
Merge pull request #139 from S-N-O-R-L-A-X/queue
Queue
2022-12-20 21:04:28 +08:00
Yudong Jin
1c4ba59606
Merge pull request #133 from tao363/master
Update array stack
2022-12-20 14:14:44 +08:00
Yudong Jin
fa3eff81d1 Update array stack. 2022-12-20 14:13:21 +08:00
S-N-O-R-L-A-X
6e715728ee feat: add linkedlist_queue in js to doc 2022-12-20 13:14:22 +08:00
S-N-O-R-L-A-X
e2aec30b05 fix: use private variables 2022-12-20 13:13:19 +08:00
S-N-O-R-L-A-X
113083c1c7 feat: complement array_queue doc in js 2022-12-20 13:13:19 +08:00
S-N-O-R-L-A-X
137d241d97 feat: complement array_queue doc in ts 2022-12-20 13:13:19 +08:00
S-N-O-R-L-A-X
5d0249be1a feat: add linkedlist_queue in ts to doc 2022-12-19 23:04:58 +08:00
a16su
2a1bb23990
修改错别字 2022-12-19 21:38:31 +08:00
Yudong Jin
f8cc9c09d8 Update stack in Go 2022-12-15 23:30:53 +08:00
Yudong Jin
19401fbca9
Update queue.md 2022-12-05 22:56:38 +08:00
S-N-O-R-L-A-X
a81a053672 fix: fix small problems 2022-12-05 22:07:41 +08:00
S-N-O-R-L-A-X
77611bc758 feat: complement doc 2022-12-05 22:06:31 +08:00
Yudong Jin
ebf9024136 Add Go codes to docs, including
the chapter of stack and queue, the chapter of tree.
2022-12-03 20:25:24 +08:00
Yudong Jin
9bd5980a81 Organizing all the code blocks. 2022-12-03 01:31:29 +08:00
Yudong Jin
e20bc251f5 Add python code of chapter queue to docs. 2022-12-02 00:09:34 +08:00
Yudong Jin
acfdc713ba update stack and queue. 2022-11-30 03:46:53 +08:00
Yudong Jin
8669e06414 Update stack and queue. 2022-11-30 02:27:26 +08:00
krahets
faba5af781 Update README 2022-11-23 15:50:59 +08:00
krahets
33d79ea6da Update docs for deployment on Vercel. 2022-11-22 17:47:26 +08:00