Commit graph

173 commits

Author SHA1 Message Date
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
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>
2023-02-03 19:15:34 +08:00
Yudong Jin
70dead5cd0 Update worst_best_time_complexity,
leetcode_two_sum
2023-02-03 18:53:15 +08:00
Yudong Jin
592965595e Fix code indentation. 2023-02-03 01:17:09 +08:00
Yudong Jin
7ce7386bab Add Zig code blocks. 2023-02-01 22:03:04 +08:00
Yudong Jin
eb0afc98ec Number the H1 and H2 headings. 2023-01-31 03:37:50 +08:00
Yudong Jin
90ee88ccf5 Update stack, queue, space_time_tradeoff 2023-01-19 02:04:21 +08:00
Yudong Jin
4d021775c3 Update space_time_tradeoff.md 2023-01-18 19:58:00 +08:00
Yudong Jin
9e24a79096 Update space_time_tradeoff.md 2023-01-18 19:56:56 +08:00
Yudong Jin
bb657f9517 Add destructors to the C++ codes. 2023-01-14 19:52:11 +08:00
Yudong Jin
483925686f
Update time_complexity.md 2023-01-11 02:45:28 +08:00
mellowrsa
51e52121dc
Update time_complexity.md 2023-01-10 18:05:52 +08:00
Yudong Jin
251471430c
Merge pull request #226 from nuomi1/feature/list-Swift
feat: add Swift codes for list article
2023-01-10 00:52:53 +08:00
Yudong Jin
aaa2ff29f9 Fix all the ** (bolded symbols). 2023-01-09 22:39:30 +08:00
nuomi1
e6021ff59e
fix: predicate 2023-01-09 08:05:40 +08:00
Yudong Jin
5c943471c7
Merge pull request #220 from Reanon/bugfix/fix-go-code-style
style(go): fix go code style
2023-01-09 02:16:12 +08:00
nuomi1
f3e9c2cf89
style: use string interpolation in print 2023-01-08 20:54:40 +08:00
nuomi1
3b52df2a8f
style: update comment format 2023-01-08 20:53:24 +08:00
reanon
0243957015 doc(code): modify go code in docs 2023-01-08 20:33:30 +08:00
Yudong Jin
73e3452838 Add Swift language blocks to the docs. 2023-01-08 19:41:05 +08:00
Yudong Jin
694ea4f665 Modify 。** to **。 for better visualization. 2023-01-07 20:34:32 +08:00
Yudong Jin
0b778f27a1 Update time complexity. 2023-01-07 17:12:25 +08:00
Yudong Jin
1f5f7e14da
Merge pull request #196 from RiverTwilight/patch-1
code: added Typescript and Javascript examples
2023-01-06 23:08:56 +08:00
RiverTwilight
5a24254f6b lint 2023-01-06 08:32:10 +08:00
RiverTwilight
52927cadad fix: change shuffle algo in the doc 2023-01-06 08:28:59 +08:00
RiverTwilight
21096c8d0a lint: added comments 2023-01-05 10:27:48 +08:00
RiverTwilight
c53f64d56b code(ts): worst best time complexity 2023-01-05 10:23:12 +08:00
RiverTwilight
7cd1347b44 code(js): worst best time complexity 2023-01-05 10:16:05 +08:00
sjinzh
ea867eadac (PR #204) update c code and doc for time_complexity 2023-01-05 08:39:09 +08:00
Yudong Jin
51004b8a85
Apply suggestions from code review
Co-authored-by: Justin Tse <xiefahit@gmail.com>
2023-01-05 01:05:59 +08:00
Yudong Jin
03aeda84e2
Update docs/chapter_computational_complexity/time_complexity.md
Co-authored-by: Justin Tse <xiefahit@gmail.com>
2023-01-05 01:02:51 +08:00
Yudong Jin
3fa04aeb4a
Update docs/chapter_computational_complexity/time_complexity.md
Co-authored-by: Justin Tse <xiefahit@gmail.com>
2023-01-05 01:02:19 +08:00
Yudong Jin
2acf85a626
Update docs/chapter_computational_complexity/time_complexity.md
Co-authored-by: Justin Tse <xiefahit@gmail.com>
2023-01-05 01:02:09 +08:00
Yudong Jin
3906c3df06
Update docs/chapter_computational_complexity/time_complexity.md
Co-authored-by: Justin Tse <xiefahit@gmail.com>
2023-01-05 01:01:53 +08:00
Yudong Jin
d5969e4070
Update docs/chapter_computational_complexity/time_complexity.md
Co-authored-by: Justin Tse <xiefahit@gmail.com>
2023-01-05 01:01:42 +08:00
Yudong Jin
b5c9db935e
Update docs/chapter_computational_complexity/time_complexity.md
Co-authored-by: Justin Tse <xiefahit@gmail.com>
2023-01-05 01:00:56 +08:00
sjinzh
9e4a5fd6d8 update c code for chapter_computational_complexity, add c code to time_complexity.md 2023-01-04 08:09:22 +08:00
nuomi1
2069dddd3b
feat: add Swift codes for space time tradeoff article 2023-01-03 23:28:59 +08:00
RiverTwilight
36e83352b8 lint: added missing comment 2023-01-03 11:17:11 +08:00
RiverTwilight
23b4aa118b code: added scripts to the doc 2023-01-02 22:07:48 +08:00
RiverTwilight
92c8d34f13 lint: remove extra indent 2023-01-02 21:53:21 +08:00
RiverTwilight
6e2412f897 lint: code lint 2023-01-02 20:40:01 +08:00
RiverTwilight
2bd24e61a8 code: added doc code 2023-01-02 18:57:26 +08:00
RiverTwilight
3f00aa39fb code: added code for time complexity chapter 2023-01-02 18:47:36 +08:00
nuomi1
57bd711779
feat: add Swift codes for space complexity article 2023-01-01 21:29:45 +08:00
René Wang
c94101a365
docs: added Typescript and Javascript examples
Not sure whether these formats meet the requirement. If everything is okay I will continue to transcribe more:-)
2023-01-01 19:29:45 +08:00
Zhizhen He
507f07ac4b
fix typo 2022-12-30 18:37:12 +08:00
Yudong Jin
2465db1eff
Update space_complexity.md
Fix the Go code.
2022-12-30 15:57:15 +08:00
Yudong Jin
fd6e993f25
Merge pull request #175 from nuomi1/feature/time_complexity-Swift
feat: add Swift codes for time complexity article
2022-12-27 20:00:17 +08:00
nuomi1
7e1ff8f741
feat: add Swift codes for time complexity article 2022-12-26 23:29:37 +08:00
Yudong Jin
c2662592bb Update space complexity 2022-12-26 13:15:09 +08:00
Yudong Jin
8733557f00 Update C# code. 2022-12-24 17:05:58 +08:00
zhuzhiqing
a427cb1b4d 完善所以c#相关的文档和代码 2022-12-23 15:42:02 +08:00
Yudong Jin
919236f479 1. Add array representation of binary tree.
2. Update the LEGO example.
3. Update headers of the Python files.
2022-12-23 00:44:40 +08:00
Ibson
5071399bd5
Update summary.md 2022-12-21 15:45:50 +08:00
Yudong Jin
f3ef226874 Remove the spaces between “ ” and 中文 aside. 2022-12-21 01:37:58 +08:00
Yudong Jin
7640ef8f51
Update space_complexity.md 2022-12-19 13:39:44 +08:00
chengzeru
150c40f42f
Update space_complexity.md 2022-12-19 12:56:48 +08:00
Yudong Jin
57fb315b4a Update AVLTree. 2022-12-18 22:54:42 +08:00
Yudong Jin
2f14d71c11
Merge pull request #116 from gyt95/js_chapter_computational_complexity
Add JS for chapter of computational complexity
2022-12-16 20:48:00 +08:00
Yudong Jin
b937bb05a6
Merge pull request #118 from gyt95/ts_chapter_computational_complexity
Add TS for chapter of computational complexity
2022-12-16 20:47:29 +08:00
gyt95
84caa60cd4 Update ts code and docs 2022-12-16 16:33:12 +08:00
gyt95
dc985cb962 Update js code and docs 2022-12-16 16:27:13 +08:00
gyt95
4a31f909c6 Add a test and update ts code style 2022-12-16 00:11:06 +08:00
gyt95
76693ab0fb Update js code format 2022-12-15 23:50:08 +08:00
gyt95
671e8f56bf Update ts code style 2022-12-15 23:48:03 +08:00
gyt95
94d5de6096 Update js code style in space_time_tradeoff.md 2022-12-15 23:44:26 +08:00