Nepenthe
d86cb0ee5d
Update array.md & hash_map.md ( #827 )
...
* Update array.md
- Update array.md
- Add comments to maintain consistency with implementations in other languages.
* Update hash_map.md
- Update hash_map.md
- Update the filename to correspond with the filenames in the "codes/go" directory.
1 year ago
krahets
e3773b7f76
Several bug fixes and improments.
1 year ago
krahets
8effa58a59
Several bug fixes.
1 year ago
Qingpeng Li
7cbe284fcf
follow PEP585 typing ( #767 )
...
Signed-off-by: Qingpeng Li <qingpeng9802@gmail.com>
1 year ago
krahets
9f59c572b5
fine tune
1 year ago
krahets
d190dbf3c1
Several enhancements and fixes
1 year ago
krahets
f71b2a40da
fix preorder_traversal_iii_compact code
1 year ago
Yudong Jin
9c3b7b6422
Sort the coding languages by applications. ( #721 )
1 year ago
krahets
e052cb1d3b
finetune
1 year ago
一代咩神
bc80234994
Update linked_list.md ( #708 )
...
原文:
> 单向链表:即上述介绍的普通链表。单向链表的节点包含值和指向下一节点的引用两项数据。我们将首个节点称为头节点,将最后一个节点成为尾节点,尾节点指向空 None。
应该是:将最后一个节点称为(而不是 “成为”)尾节点,尾节点指向空 None。
1 year ago
Yudong Jin
e16f898a4e
Finetune all the figures. ( #704 )
1 year ago
krahets
d387d9d41d
finetune
1 year ago
krahets
57851ab11e
Update punctuation
1 year ago
krahets
c5a7323817
Replace ":" with "。"
1 year ago
krahets
1aa558bd2d
Add figure and table numbers in normal texts.
1 year ago
krahets
106f02809a
Mention figures and tables in normal texts.
...
Fix some figures.
Finetune texts.
1 year ago
krahets
1aff6d6cc2
Polish the content.
1 year ago
krahets
981144e42d
1. lower-case nouns
...
2. fix 2 figures
3. Replace some 「」 by “”
1 year ago
krahets
2626de8d0b
Polish the chapter
...
introduction, computational complexity.
1 year ago
krahets
70227c82cb
Remove center-table from docs.
...
Add header to the tables.
1 year ago
Sizhuo Long
4eb621dda7
"Add Q&A sections to array/linked_list and tree chapters" ( #682 )
...
* "Add Q&A sections to array/linked_list and tree chapters"
Added question and answers related to the use of std::list in C++ and space complexity in full binary tree traversal to their respective chapters in array_and_linked_list and tree documentation.
* Update summary.md
* Update summary.md
* Update summary.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
krahets
c310edb672
Polish the chapter of array and linkedlist
1 year ago
liuyuxin
0858ab91c0
Add missing Dart codes and fix some errors ( #689 )
...
* Add missing Dart codes and fix some errors
* Update array_binary_tree.dart
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
krahets
0c18198c01
Fix the figures.
...
Polish the chapter of data structure.
1 year ago
埃拉
9ed16db68e
Complement to Rust code in the Chapter array and linked list / Time Complexity. ( #657 )
...
* Complement to Rust code in the Chapter array and linked list
* Complement to Rust code in the Time Complexity
* Remove this Rust struct from 380 to 383.
* Address the comments from @night-cruise
* Add more comments in list and time complexity
* Add more comments in linked list
1 year ago
krahets
4bc6b8af7b
finetune
1 year ago
krahets
3d81b2d954
Update the opening phrase
1 year ago
Yudong Jin
43ed0e41d6
Add opening phrase for every chapters. ( #670 )
...
Update several chapter covers.
Fitune documens.
1 year ago
krahets
9e8aee04d5
Update number_encoding.md
...
Update the width of cover images.
1 year ago
krahets
b9b324b298
Use abbreviation for JavaScript and TypeScript
1 year ago
Yudong Jin
027bdd6510
Release Rust code to documents. ( #656 )
1 year ago
krahets
63a0e73df0
Unify punctuation.
1 year ago
hpstory
978d3c2ed7
fix(csharp): reformat csharp codes and docs ( #652 )
...
* fix(csharp): reformat the C# codes and docs
* Update time_complexity.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
krahets
17f995b432
Finetune the chapter of hashing,
...
divide and conquer, backtracking, tree
1 year ago
krahets
4e13755023
Add implementation of array binary tree.
...
Rewrite the tree serialization and deserialization methods.
Add applications of array and linked list.
1 year ago
krahets
1113d03a8f
Add new Q&As.
1 year ago
krahets
b6b03ef84b
Fix the figures of binary tree.
...
Replace null with None.
1 year ago
liuyuxin
281c0c618a
feat: modify some Dart codes and add Dart code blocks to the docs ( #543 )
1 year ago
Yudong Jin
025051c81b
Add Dart codes to the documents. ( #529 )
1 year ago
Yudong Jin
041a989d33
Add the chapter cover images ( #528 )
1 year ago
krahets
033dca77fe
Update the summary of array and linkedlist
1 year ago
krahets
e35e2e31eb
Add the figure of assembling blocks.
...
Update some texts.
1 year ago
krahets
6f76203dd9
Fix some mistakes.
1 year ago
Sizhuo Long
1028c0c083
add Q&A about array_and_linklist and fix miss one "$" in c_c chapter ( #515 )
...
* fix "$" in c_c summary and add QA of array_linklist in summary
* Update summary.md
* Update summary.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
krahets
e196962d0a
Simplify the declarations of the Python code.
2 years ago
Yudong Jin
dbc4906582
Publish the C codes to the docs. ( #469 )
2 years ago
krahets
236b9cadb1
Polish the chapter of stack_and_queue, tree
2 years ago
krahets
9a74d9a9d1
Polish the chapter of searching and sorting.
2 years ago
krahets
0bec52d7cc
Polish the chapter of heap, introduction, preface.
...
Replace "其它" with "其他"
2 years ago
krahets
10e2180013
Unify the comment style of python codes
2 years ago
Yudong Jin
1c8b7ef559
refactor: Replace 结点 with 节点 ( #452 )
...
* Replace 结点 with 节点
Update the footnotes in the figures
* Update mindmap
* Reduce the size of the mindmap.png
2 years ago
krahets
de6945f55a
Polish the contents
...
1. Array and linked list.
2. Computational complexity.
3. Fix a mistake in counting_sort.md
2 years ago
krahets
b7daddf88f
Polish the contents.
2 years ago
Guanngxu
351da5c108
update C linked_list init ( #421 )
...
* docs: update C linked_list init
* Update linked_list.md
* Update linked_list.c
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
Yudong Jin
9151eaf533
Add typing annotations to Python codes. ( #411 )
2 years ago
krahets
b7fa3bbe86
Fix linked_list.md and hasp_map.md
2 years ago
krahets
ca261a8f46
Update the chapter preface.
2 years ago
krahets
dabe5d5c24
build
2 years ago
krahets
ff6022796c
Fix 结构体 and 类.
2 years ago
花无缺
731487864f
linked_list.md中增加链表结构体定义C语言代码 ( #384 )
2 years ago
krahets
c2d641537e
Add summary for the chapters of introduction, hashing, heap, graph, sorting
2 years ago
krahets
1a49631dba
Unify the headings in mkdocs.yml and the articles.
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
krahets
e500b19f5a
Update the labels of the figures.
2 years ago
krahets
d87c9b5084
Add floating-point format in data_and_memory.md
2 years ago
krahets
88b00151b0
Remove the heading numbers
...
in all the source docs.
2 years ago
Yudong Jin
925e05fd03
feat: add the section of Graph Traversal ( #367 )
...
* Graph dev
* Add the section of Graph Traversal.
* Add missing Vertex.java
* Add mkdocs.yml
* Update numbering
* Fix indentation and update array.md
2 years ago
krahets
d1e1d76162
Add sorce code blocks of C to the docs.
2 years ago
Guanngxu
0aea04f142
feat: add array C docs ( #352 )
...
* feat: add arry C docs
* fix: change remove to removeItem
* Update array.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
krahets
ec25970e8e
Update .gitignore
...
Add build script for Zig.
2 years ago
krahets
3465b300e9
Add the introduction to the reviewers
...
to the index.md
2 years ago
krahets
e8c78f89f0
Add build script for Go and update Go codes.
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
Yudong Jin
f14e3e4c57
Update linear_search and hashing_search.
2 years ago
Yudong Jin
a95fe26303
Fix Python code styles.
...
Update hash_map.
2 years ago
sjinzh
15efaca85d
copy zig codes of chapter_array_and_linkedlist and chapter_computatio… ( #319 )
...
* copy zig codes of chapter_array_and_linkedlist and chapter_computational_complexity to markdown files
* Update time_complexity.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
Yudong Jin
7ce7386bab
Add Zig code blocks.
2 years ago
Yudong Jin
eb0afc98ec
Number the H1 and H2 headings.
2 years ago
Yudong Jin
ddd5562b60
Fix the index out of bound check in my_list.
2 years ago
Yudong Jin
70c1dba1cd
Update a comment in randomAccess()
2 years ago
weibk
dab16ee53a
update python randomAccess
...
random.randomint(start, stop) 返回 数字的范围是 [start, stop] 是一个闭区间, 如果用len(nums) 有可能会索引超出范围
2 years ago
Yudong Jin
bb657f9517
Add destructors to the C++ codes.
2 years ago
Yudong Jin
251471430c
Merge pull request #226 from nuomi1/feature/list-Swift
...
feat: add Swift codes for list article
2 years ago
Yudong Jin
d6d6a16c7e
Update the access() function of linked_list
2 years ago
Yudong Jin
aaa2ff29f9
Fix all the ** (bolded symbols).
2 years ago
nuomi1
5e23c75870
feat: add Swift codes for list article
2 years ago
Yudong Jin
5c943471c7
Merge pull request #220 from Reanon/bugfix/fix-go-code-style
...
style(go): fix go code style
2 years ago
nuomi1
3b52df2a8f
style: update comment format
2 years ago
reanon
0243957015
doc(code): modify go code in docs
2 years ago
nuomi1
7556558704
feat: add Swift codes for linked_list article
2 years ago
Yudong Jin
73e3452838
Add Swift language blocks to the docs.
2 years ago