Commit graph

29 commits

Author SHA1 Message Date
krahets
d190dbf3c1 Several enhancements and fixes 2023-09-14 03:36:31 +08:00
krahets
c310edb672 Polish the chapter of array and linkedlist 2023-08-17 05:13:19 +08:00
krahets
145975b335 Rename the common modules in Java, C++ and C. 2023-04-24 04:11:18 +08:00
krahets
3590262c7e Modify the exception handling in Java and Python. 2023-04-23 03:41:39 +08:00
krahets
f8513455b5 Format the Java codes with the Reat Hat extension. 2023-04-14 00:12:10 +08:00
Yudong Jin
1c8b7ef559
refactor: Replace 结点 with 节点 (#452)
* Replace 结点 with 节点
Update the footnotes in the figures

* Update mindmap

* Reduce the size of the mindmap.png
2023-04-09 04:32:17 +08:00
Yudong Jin
8aebbaad21
refactor: Replace poll with pop in Queue and Deque (#415) 2023-03-13 21:58:21 +08:00
krahets
82bbdd444d Update the chapter of stack and queue. 2023-03-12 04:14:36 +08:00
Yudong Jin
4f941e3d99
Add C++ code for the linkedlist deque and array deque (#400) 2023-03-02 03:00:14 +08:00
krahets
18f2ec4fdc Fix array_deque.java
Unify the book name.
Update cover image.
2023-02-27 19:08:32 +08:00
方圆
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
方圆
4ee3af176b
二叉搜索树: 排序小节 移动到 删除结点代码 的下面 (#340)
* 插入排序: 修改插入排序思想描述

* Update insertion_sort.md

* 二叉搜索树: 排序小节 移动到 删除结点代码 的下面

* fix: 双点 -> 双向

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-06 19:57:19 +08:00
Yudong Jin
7d14c9440e Unify the function naming of
queue from `offer()` to `push()`
2023-02-02 01:43:01 +08:00
Yudong Jin
5eae708035 Fix array queue. 2023-02-01 03:23:29 +08:00
Yudong Jin
e308657ae9 Update the test cases of deque. 2023-01-29 13:34:37 +08:00
Yudong Jin
31eefe028a Update linkedlist_deque.java 2023-01-20 02:56:50 +08:00
Yudong Jin
43d8520291 Add linkedlist_deque.java 2023-01-20 02:45:09 +08:00
Yudong Jin
90ee88ccf5 Update stack, queue, space_time_tradeoff 2023-01-19 02:04:21 +08:00
Yudong Jin
0e49f0053a Update the format of the file headers
of c, cpp, java, js, ts, swift.
2023-01-06 03:39:19 +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
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
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
9a861140d8 Rearrange the chapters.
Start to translate codes from Java to Python.
2022-11-25 02:04:38 +08:00
krahets
7fdb4d1443 Add a chapter of binary tree. 2022-11-12 22:48:46 +08:00
krahets
ac8d0bcfeb Add the chapter of stack and queue. 2022-11-10 03:40:57 +08:00