nil
0774920d7f
fix(Go): Update array_queue.go and array_deque.go ( #1362 )
...
* 🐞 fix: 队列为空时不应该操作指向
* 🧪 test: 添加pop测试用例
* 🔧 build: 修改testify依赖包
* 🐞 fix: 双向队列为空时,pop不操作指向
* 🔧 build:
Remove third-party packages
* Delete codes/go/go.sum
---------
Co-authored-by: Yudong Jin <krahets@163.com>
6 months ago
Yudong Jin
034ee65e9a
Fix bugs and harmonize the code comments ( #1199 )
...
* Fix the comment in array_deque.go
* Fix the comment in bucket_sort.c
* Translate the Java code comments to Chinese
* Bug fixes
* 二分查找 -> 二分搜尋
* Harmonize comments in `utils` between multiple programming languages
8 months ago
Yudong Jin
f68bbb0d59
Update the book based on the revised second edition ( #1014 )
...
* Revised the book
* Update the book with the second revised edition
* Revise base on the manuscript of the first edition
11 months ago
krahets
516cb17775
Replace poll with pop
2 years ago
Yudong Jin
8aebbaad21
refactor: Replace poll with pop in Queue and Deque ( #415 )
2 years ago
Reanon
be0c965886
feat(go/deque): support go array deque ( #414 )
2 years ago
Yudong Jin
4f941e3d99
Add C++ code for the linkedlist deque and array deque ( #400 )
2 years ago
方圆
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>
2 years ago
krahets
e8c78f89f0
Add build script for Go and update Go codes.
2 years ago
Yudong Jin
7d14c9440e
Unify the function naming of
...
queue from `offer()` to `push()`
2 years ago
Yudong Jin
5eae708035
Fix array queue.
2 years ago
reanon
b73ac7bf4b
style(go): fix go code style
...
Make the classes and methods in the package private, in case misuse
2 years ago
Yudong Jin
ebf9024136
Add Go codes to docs, including
...
the chapter of stack and queue, the chapter of tree.
2 years ago
Yudong Jin
e20bc251f5
Add python code of chapter queue to docs.
2 years ago
reanon
a554590fa8
feat(deque): add implementation of deque
2 years ago
reanon
19469aecbf
fix(go): modify interface of stack, queue and deque
2 years ago
reanon
d32f15feb1
fix(testcase): modify testcase
2 years ago
reanon
bed8b07b0b
feat(deeue): implement deque in golang code
2 years ago
reanon
76a7e0b232
feat(queue): implement queue in golang code
2 years ago
reanon
27e4402eca
feat(stack): implement stack in golang code
2 years ago