10 Commits

Author SHA1 Message Date
8aebbaad21 refactor: Replace poll with pop in Queue and Deque (#415) 2023-03-13 21:58:21 +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
62114ce79a Fix bug before commit 5eae708 (#325)
* Fix bug before commit 5eae708

* Update queue.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-04 21:26:14 +08:00
7d14c9440e Unify the function naming of
queue from `offer()` to `push()`
2023-02-02 01:43:01 +08:00
5eae708035 Fix array queue. 2023-02-01 03:23:29 +08:00
f39636cb63 Update the structure of the chapter
of binary tree.
2022-12-21 17:19:39 +08:00
7283bbaf6f Update the chapter of stack and queue. 2022-12-20 21:33:14 +08:00
edf100ec01 Fine tune. 2022-12-20 21:02:09 +08:00
e2aec30b05 fix: use private variables 2022-12-20 13:13:19 +08:00
14561fc95f feat: add array_queue in js 2022-12-20 13:13:19 +08:00