krahets
bbef87ccfe
Update the applications of deque.
2 years ago
krahets
ca261a8f46
Update the chapter preface.
2 years ago
Yudong Jin
33c797efeb
feat: Add C++ code for the graph bfs and dfs ( #401 )
...
* Add C++ code for the graph bfs and dfs
* Add C++ code for the graph bfs and dfs
2 years ago
krahets
902be479b2
Update the contents
2 years ago
krahets
55586e6a6e
Add linkedlist_deque and array_deque to docs.
2 years ago
krahets
dabe5d5c24
build
2 years ago
krahets
1a49631dba
Unify the headings in mkdocs.yml and the articles.
2 years ago
krahets
23cda5e225
Add captions for all the animations.
2 years ago
krahets
7aa44d212c
Remove all the table captions.
2 years ago
krahets
9e99ac06ce
Update the captions of all the figures.
2 years ago
krahets
b25aadae6f
Remove the file headers from the docs.
2 years ago
krahets
2b33f7bc5f
Add step symbols in animations and unify font size for all the figures
2 years ago
nuomi1
037769d94d
feat: add Swift codes for deque article ( #380 )
2 years ago
krahets
88b00151b0
Remove the heading numbers
...
in all the source docs.
2 years ago
krahets
15417d2a95
Update queue.md
...
Match the latest ArrayQueue implementation
2 years ago
krahets
6812b4f5c5
Update the figures of array_queue
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
d1e1d76162
Add sorce code blocks of C to the docs.
2 years ago
krahets
ec25970e8e
Update .gitignore
...
Add build script for Zig.
2 years ago
krahets
e8c78f89f0
Add build script for Go and update Go codes.
2 years ago
krahets
12c085a088
Fix C++, JS, and TS blocks for the code building
2 years ago
krahets
6dc21691ed
Add build scripts for C# and
...
unify the coding style.
2 years ago
krahets
38751cc5f5
Add build script for Swift.
2 years ago
krahets
05f0054005
Add build script for JS and TS codes.
2 years ago
krahets
22b7d65d20
Replace ```js with ```javascript
2 years ago
krahets
0407cc720c
Fix Repo
2 years ago
krahets
ecbf2d1560
1. Add build script for Java.
...
2. Add height limitation for code blocks in extra.css.
3. Fix "节点" to "结点".
2 years ago
krahets
ea901af217
1. Add the building util of Python
...
for the markdown docs.
2. Update the deploy.sh
2 years ago
zhuoqinyue
c4b510038c
Add linkedlist_deque for typescript and javascript ( #326 )
...
* add linkedlist_deque for typescript and javascript
* update typescript and javascript examples for the deque.md
* keep the same name
* update the doc
* Update deque.md
---------
Co-authored-by: steak-zhuo <zhuoqinyue@gmail.com>
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
Justin Tse
62114ce79a
Fix bug before commit 5eae708
( #325 )
...
* Fix bug before commit 5eae708
* Update queue.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
Yudong Jin
7d14c9440e
Unify the function naming of
...
queue from `offer()` to `push()`
2 years ago
nuomi1
a0ee691475
fix: resolve build error for commit 5eae708
( #318 )
2 years ago
Yudong Jin
7ce7386bab
Add Zig code blocks.
2 years ago
Yudong Jin
5eae708035
Fix array queue.
2 years ago
Yudong Jin
eb0afc98ec
Number the H1 and H2 headings.
2 years ago
Yudong Jin
7f3752d306
Update README.md
2 years ago
Yudong Jin
29b096d90d
feat: Deque implemented using linked list ( #307 )
...
* deque: code
* deque: md
* deque: 修改代码注释
* deque: 修改md文档中代码示例
* deque: 优化注释
* deque: 优化md代码注释
* deque: 添加草图
* deque: rename file
* deque: 优化代码注释
* deque: 更改md中代码示例
* deque: 优化代码,链表的入队和出队依赖size来判断
* deque: 更新md中代码示例
* deque: 更改readme代码示例,并移除了没有使用的代码
* Update deque.md
* Update the figures and the content.
* Add code blocks.
---------
Co-authored-by: FangYuan <374072213@qq.com>
2 years ago
beintentional
3858048d0f
更新队列的链表实现中 self.__front 判空的方式 ( #297 )
...
* 更新队列的链表实现中 self.__front 判空的方式
self.__front 初始化为 None, 元素入队判断队列是否为空,延用头节点的初始化值 None 而不是 0
* Update linkedlist_queue.py
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
Yudong Jin
90ee88ccf5
Update stack, queue, space_time_tradeoff
2 years ago
Yudong Jin
fc221b19da
fix: stack_operations.png, bubble_sort.py
2 years ago
Yudong Jin
37e0fbfd26
Merge branch 'master' of github.com:krahets/hello-algo
2 years ago
Yudong Jin
bb657f9517
Add destructors to the C++ codes.
2 years ago
nuomi1
007fbff65f
docs: add comments of the complexity to queue and deque
2 years ago
nuomi1
595aa93996
feat: add Swift codes for deque article
2 years ago
Yudong Jin
2a35aab8e7
Merge branch 'master' into feature/queue-Swift
2 years ago
Yudong Jin
d0e5406f0c
Merge branch 'master' into heap-dev
2 years ago
nuomi1
ac7d26c131
refactor: use internal method and remove toArray() method
2 years ago
nuomi1
99f1494939
feat: add Swift codes for queue article
2 years ago
nuomi1
47f017177b
feat: add Swift codes for stack article
2 years ago
iStig
0b965a5e32
Update stack.md
2 years ago
Yudong Jin
6b3c87399b
Add time complexity in stack, queue, deque. Update heap.
2 years ago
reanon
0243957015
doc(code): modify go code in docs
2 years ago
Yudong Jin
73e3452838
Add Swift language blocks to the docs.
2 years ago
Yudong Jin
694ea4f665
Modify `。** ` to `**。` for better visualization.
2 years ago
Yudong Jin
f34dde9c65
Add back-to-top button.
2 years ago
Yudong Jin
92a89d04de
Update stack.md
2 years ago
Yudong Jin
fd3eaaf3fd
Update stack.md and queue.md
2 years ago
Yudong Jin
4223cceda1
Update stack.md
2 years ago
Yudong Jin
2890771d93
Update stack.md
2 years ago
Yudong Jin
410c5d6b62
Free memory after removing
...
a node from a LinkedList or TreeNode.
2 years ago
Yudong Jin
56b6bf10f8
Update deque.md
2 years ago
moonache
d8bf0b02d1
添加 C# 内置的双向队列示例
...
RT
2 years ago
Yudong Jin
8733557f00
Update C# code.
2 years ago
Yudong Jin
4906021ccb
Merge pull request #159 from haptear/master
...
完善所有c#相关的文档和代码
2 years ago
Yudong Jin
a1f67c6484
Merge pull request #163 from S-N-O-R-L-A-X/linkedlist_stack
...
Update linkedlist stack in JS and TS
2 years ago
S-N-O-R-L-A-X
8060eb89da
feat: add linkedlist_stack in js to doc
2 years ago
zhuzhiqing
a427cb1b4d
完善所以c#相关的文档和代码
2 years ago
S-N-O-R-L-A-X
c20f7cdaac
fix: fix some comment
2 years ago
S-N-O-R-L-A-X
5856e6a173
feat: add linkedlist_stack in ts to doc
2 years ago
Yudong Jin
f39636cb63
Update the structure of the chapter
...
of binary tree.
2 years ago
Yudong Jin
f3ef226874
Remove the spaces between “ ” and 中文 aside.
2 years ago
Yudong Jin
7283bbaf6f
Update the chapter of stack and queue.
2 years ago
Yudong Jin
9bbb0e9466
Merge pull request #139 from S-N-O-R-L-A-X/queue
...
Queue
2 years ago
Yudong Jin
1c4ba59606
Merge pull request #133 from tao363/master
...
Update array stack
2 years ago
Yudong Jin
fa3eff81d1
Update array stack.
2 years ago
S-N-O-R-L-A-X
6e715728ee
feat: add linkedlist_queue in js to doc
2 years ago
S-N-O-R-L-A-X
e2aec30b05
fix: use private variables
2 years ago
S-N-O-R-L-A-X
113083c1c7
feat: complement array_queue doc in js
2 years ago
S-N-O-R-L-A-X
137d241d97
feat: complement array_queue doc in ts
2 years ago
S-N-O-R-L-A-X
5d0249be1a
feat: add linkedlist_queue in ts to doc
2 years ago
a16su
2a1bb23990
修改错别字
2 years ago
Yudong Jin
f8cc9c09d8
Update stack in Go
2 years ago
Yudong Jin
e21fc70b05
Merge pull request #81 from S-N-O-R-L-A-X/array_stack
...
Array stack in js and ts
2 years ago
Yudong Jin
122b0eca26
Update figures.
2 years ago
S-N-O-R-L-A-X
15120d307a
fix: fix names and move content to correct place
2 years ago
S-N-O-R-L-A-X
7ce5ae1608
feat: complement array_stack doc in js
2 years ago
S-N-O-R-L-A-X
03e5807f94
feat: complement doc
2 years ago
Yudong Jin
19401fbca9
Update queue.md
2 years ago
S-N-O-R-L-A-X
a81a053672
fix: fix small problems
2 years ago
S-N-O-R-L-A-X
77611bc758
feat: complement doc
2 years ago
S-N-O-R-L-A-X
a841a6fe42
fix: use const to declare variables in js
2 years ago
S-N-O-R-L-A-X
b4991254df
feat: add code in ts
2 years ago
S-N-O-R-L-A-X
cf628007c8
Update stack.md
...
add javascript and typescript for stack
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
9bd5980a81
Organizing all the code blocks.
2 years ago
Yudong Jin
e20bc251f5
Add python code of chapter queue to docs.
2 years ago
Yudong Jin
acfdc713ba
update stack and queue.
2 years ago
Yudong Jin
8669e06414
Update stack and queue.
2 years ago
彭琛
d9e4b21e4f
Update stack.md
...
197行处,“站栈顶”笔误
2 years ago
Yudong Jin
cce8201e2b
Add a comment file header.
2 years ago