Commit graph

23 commits

Author SHA1 Message Date
方圆
f0d8d8b1b0
feat: add ArrayDeque (#348)
* 双向队列: java 代码

* 双向队列: markdown 内容

* Rewrite array_deque.java
Update array_queue.java, linkedlist_deque.java

* Add ArrayDeque figures and rewrite the contents

---------

Co-authored-by: krahets <krahets@163.com>
2023-02-16 02:17:15 +08:00
Yudong Jin
5eae708035 Fix array queue. 2023-02-01 03:23:29 +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
919236f479 1. Add array representation of binary tree.
2. Update the LEGO example.
3. Update headers of the Python files.
2022-12-23 00:44:40 +08:00
Yudong Jin
f39636cb63 Update the structure of the chapter
of binary tree.
2022-12-21 17:19:39 +08:00
Yudong Jin
7283bbaf6f Update the chapter of stack and queue. 2022-12-20 21:33:14 +08:00
Yudong Jin
fa3eff81d1 Update array stack. 2022-12-20 14:13:21 +08:00
Yudong Jin
d1efac36ca Update the chapter of hashing. 2022-12-06 01:00:21 +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
e20bc251f5 Add python code of chapter queue to docs. 2022-12-02 00:09:34 +08:00
Yudong Jin
fcbe480b76
Merge pull request #55 from pengchzn/patch-2
Update array_stack.py
2022-12-01 22:57:32 +08:00
Yudong Jin
6090079a2f
Merge pull request #53 from pengchzn/master
Add python code for queue
2022-12-01 22:55:24 +08:00
pengchzn
59e46ada82 Add python code for queue 2022-12-01 06:53:08 +08:00
彭琛
6879f7dc21
Update array_stack.py
An type error of ";"
2022-12-01 06:50:25 +08:00
pengchzn
a2b7586c98 Add python code for queue 2022-11-30 12:15:50 +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
Yudong Jin
53cc651af2 Update python code of stack. 2022-11-29 23:35:51 +08:00
Yudong Jin
b1b5094436
Update linkedlist_stack.py 2022-11-29 23:11:54 +08:00
pengchzn
60cb2ffc97 栈的python代码 2022-11-29 22:58:16 +08:00
pengchzn
f8d44be73d 栈的python代码 2022-11-29 21:42:59 +08:00
pengchzn
b47f54886e 栈的python代码 2022-11-29 13:58:23 +08:00
krahets
9a861140d8 Rearrange the chapters.
Start to translate codes from Java to Python.
2022-11-25 02:04:38 +08:00