Commit graph

139 commits

Author SHA1 Message Date
wangwang105
30d1d36dd7
Update space_complexity.md (#631)
* Update space_complexity.md

修改一个C语言的函数,c语言中错误使用C++的STL库的vector类,现在更正为直接使用定义数组去申请内存

* Update space_complexity.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-07-20 18:56:35 +08:00
krahets
ba481cb8e6 Simplify the python code of bst and avl tree. 2023-06-30 05:17:30 +08:00
Yudong Jin
3f03663d2e
feat: add the section of the introduction to dynamic programming (#571)
* add the section of the introduction to
dynamic programming

* add a code comments.
2023-06-30 04:31:43 +08:00
krahets
3902ccbfc7 Fine-tune the docs. 2023-06-25 21:11:24 +08:00
krahets
698c2e7fe5 Fix some codes and a figure. 2023-06-05 01:03:39 +08:00
liuyuxin
281c0c618a
feat: modify some Dart codes and add Dart code blocks to the docs (#543) 2023-06-02 14:56:29 +08:00
Yudong Jin
025051c81b
Add Dart codes to the documents. (#529) 2023-06-02 02:40:26 +08:00
Yudong Jin
041a989d33
Add the chapter cover images (#528) 2023-06-02 01:36:51 +08:00
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>
2023-05-26 21:27:34 +08:00
Sizhuo Long
16365ae5f0
Add Q&A of computational_complexity and graph chapter (#512)
* add Q&A in the summary.md of computational complexity chapter

* add Q&A in the summary.md of graph

* Update summary.md

* Update summary.md

* Update summary.md

* Update summary.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-05-24 20:46:12 +08:00
krahets
e196962d0a Simplify the declarations of the Python code. 2023-05-22 22:03:57 +08:00
krahets
661603d467 Add the hashtable based on uthash.h to docs 2023-04-18 21:19:57 +08:00
Yudong Jin
dbc4906582
Publish the C codes to the docs. (#469) 2023-04-18 20:21:31 +08:00
Yudong Jin
881d573790
Refactor the articles related to searching algorithm. Add the chapter of binary search. Add the section of searching algorithm revisited. (#464) 2023-04-17 18:22:18 +08:00
krahets
9a74d9a9d1 Polish the chapter of searching and sorting. 2023-04-10 03:11:49 +08:00
krahets
0bec52d7cc Polish the chapter of heap, introduction, preface.
Replace "其它" with "其他"
2023-04-09 19:12:37 +08:00
krahets
10e2180013 Unify the comment style of python codes 2023-04-09 05:30:02 +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
krahets
3f4e32b2b0 Polish the chapter of graph, hashing, appendix 2023-04-09 03:09:06 +08:00
krahets
3872f94caa Polish the chapter of data structure. 2023-04-08 04:07:09 +08:00
krahets
de6945f55a Polish the contents
1. Array and linked list.
2. Computational complexity.
3. Fix a mistake in counting_sort.md
2023-04-07 22:31:50 +08:00
Yudong Jin
65e47b0748
Add Python and C++ code for the counting sort. (#436) 2023-03-21 22:24:17 +08:00
krahets
d09b1e4f9f Fix space_complexity.md 2023-03-13 22:53:53 +08:00
Yudong Jin
9151eaf533
Add typing annotations to Python codes. (#411) 2023-03-12 18:49:52 +08:00
nuomi1
17ff091a03
refactor: review Swift codes for chapter_computational_complexity art… (#396)
* refactor: review Swift codes for chapter_computational_complexity articles

* Update time_complexity.swift

* Update time_complexity.swift

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-03-03 21:22:23 +08:00
krahets
29ae658dea Fix code formats. 2023-03-01 03:17:07 +08:00
krahets
10903b2781 Updathe time_complexity.md 2023-02-28 00:14:59 +08:00
krahets
f83bf7792c Update the chapter preface and add the chapter appendix 2023-02-27 03:44:54 +08:00
krahets
e7b71df467 Updathe suggestions.md 2023-02-27 02:44:09 +08:00
krahets
9e99ac06ce Update the captions of all the figures. 2023-02-26 18:18:34 +08:00
krahets
b25aadae6f Remove the file headers from the docs. 2023-02-26 02:19:40 +08:00
krahets
2b33f7bc5f Add step symbols in animations and unify font size for all the figures 2023-02-26 01:47:57 +08:00
krahets
e500b19f5a Update the labels of the figures. 2023-02-25 23:35:39 +08:00
krahets
88b00151b0 Remove the heading numbers
in all the source docs.
2023-02-16 03:39:01 +08:00
krahets
d1e1d76162 Add sorce code blocks of C to the docs. 2023-02-11 18:22:27 +08:00
krahets
ec25970e8e Update .gitignore
Add build script for Zig.
2023-02-09 22:57:25 +08:00
krahets
e8c78f89f0 Add build script for Go and update Go codes. 2023-02-09 04:45:06 +08:00
siqyka
6cce1ab059
Update time_complexity.md (#353)
* Update time_complexity.md

这样修改是否更加通畅,或者修改位“以下示例即位使用上述技巧前、后的统计结果”,因为是根据上述技巧给出的示例,二不是根据示例得出了技巧

* Update time_complexity.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-09 01:00:56 +08:00
Malcolm Yang
87f0546f71
病句修改,缺少谓语 (#350)
* 病句修改,缺少谓语

* Update performance_evaluation.md

* Update performance_evaluation.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-09 00:56:37 +08:00
krahets
6dc21691ed Add build scripts for C# and
unify the coding style.
2023-02-08 22:18:02 +08:00
krahets
38751cc5f5 Add build script for Swift. 2023-02-08 20:30:05 +08:00
krahets
05f0054005 Add build script for JS and TS codes. 2023-02-08 19:45:06 +08:00
krahets
22b7d65d20 Replace ``js with ``javascript 2023-02-08 04:27:55 +08:00
krahets
0407cc720c Fix Repo 2023-02-08 04:17:26 +08:00
krahets
ecbf2d1560 1. Add build script for Java.
2. Add height limitation for code blocks in extra.css.
3. Fix "节点" to "结点".
2023-02-07 04:43:52 +08:00
Justin Tse
b14568151c
Add TypeScript code and docs to AVL tree and the coding style for Typescript and JavaScript (#342)
* Add TypeScript code and docs to AVL tree and update JavaScript style

* Update the coding style for Typescript and JavaScript
2023-02-07 01:21:58 +08:00
krahets
ea901af217 1. Add the building util of Python
for the markdown docs.
2. Update the deploy.sh
2023-02-06 23:23:21 +08:00
Justin Tse
bc88e52955
Add JavaScript and TypeScript code and docs for Section Space Complexity (#331)
* Fix bug before commit 5eae708

* Update queue.md

* Update the coding style for JavaScript

* Add JavaScript and TypeScript code for Section Space Complexity

* Add JavaScript and TypeScript code to docs for Section Space Complexity

* Update hashing_search.js

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-06 01:24:22 +08:00
Justin Tse
6ad8a66a7c
Update the coding style for JavaScript (#329)
* Fix bug before commit 5eae708

* Update queue.md

* Update the coding style for JavaScript

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-05 15:40:30 +08:00
Yudong Jin
a95fe26303 Fix Python code styles.
Update hash_map.
2023-02-03 20:03:30 +08:00