Commit graph

37 commits

Author SHA1 Message Date
krahets
588980af86 Update the sorting algorithms. 2023-05-24 00:05:12 +08:00
Yudong Jin
dbc4906582
Publish the C codes to the docs. (#469) 2023-04-18 20:21:31 +08:00
krahets
9a74d9a9d1 Polish the chapter of searching and sorting. 2023-04-10 03:11:49 +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
22898b6955 Simplify the contents of the sorting algorithms. 2023-03-25 18:41:22 +08:00
Yudong Jin
9151eaf533
Add typing annotations to Python codes. (#411) 2023-03-12 18:49:52 +08:00
krahets
23cda5e225 Add captions for all the animations. 2023-02-26 19:22:46 +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
e500b19f5a Update the labels of the figures. 2023-02-25 23:35:39 +08:00
krahets
3daaf30f23 Update the symbols of the animations. 2023-02-22 00:57:43 +08:00
krahets
88b00151b0 Remove the heading numbers
in all the source docs.
2023-02-16 03:39:01 +08:00
krahets
6dc21691ed Add build scripts for C# and
unify the coding style.
2023-02-08 22:18:02 +08:00
krahets
22b7d65d20 Replace ``js with ``javascript 2023-02-08 04:27:55 +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
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
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
nuomi1
f43f7a64b6
feat: add Swift codes for chapter_sorting articles (#313)
* feat: add Swift codes for bubble_sort article

* feat: add Swift codes for insertion_sort article

* feat: add Swift codes for quick_sort article

* feat: add Swift codes for merge_sort article

* feat: add Swift codes for radix_sort

* refactor: remove ^ operator
2023-01-31 00:18:40 +08:00
Yudong Jin
aaa2ff29f9 Fix all the ** (bolded symbols). 2023-01-09 22:39:30 +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
GN-Yu
4ca09c1015
Update merge_sort.md
修改了代码注释使其表述更严谨,如C++中:

for (int k = left; k <= right; k++) {
            // 若“左子数组已全部合并完”,则选取右子数组元素,并且 j++
            if (i > leftEnd)
                nums[k] = tmp[j++];
            // 否则,若“右子数组已全部合并完”或“左子数组元素 <ins> <= </ins> 右子数组元素”,则选取左子数组元素,并且 i++
            else if (j > rightEnd || tmp[i] <= tmp[j])
                nums[k] = tmp[i++];
            // 否则,若<ins>“左右子数组都未全部合并完”且“左子数组元素 > 右子数组元素”</ins>,则选取右子数组元素,并且 j++
            else
                nums[k] = tmp[j++];
        }
2022-12-29 17:50:02 -05:00
Yudong Jin
8733557f00 Update C# code. 2022-12-24 17:05:58 +08:00
Yudong Jin
b1645c7d7e Fine tune 2022-12-24 16:15:41 +08:00
zhuzhiqing
a427cb1b4d 完善所以c#相关的文档和代码 2022-12-23 15:42:02 +08:00
Yudong Jin
f3ef226874 Remove the spaces between “ ” and 中文 aside. 2022-12-21 01:37:58 +08:00
machangxin
4d3128a4a7 merge sort using go 2022-12-13 14:24:17 +08:00
justin
14e14677cd Add the TypeScript code to docs (Chapter of Sorting) 2022-12-12 23:18:12 +08:00
Yudong Jin
9bd5980a81 Organizing all the code blocks. 2022-12-03 01:31:29 +08:00
IsChristina
7eea137c28 add sort for javascript codes 2022-12-01 18:28:57 +08:00
Yudong Jin
19a4ccd86a Add cpp codes for the chapter
computational complexity, sorting, searching.
2022-11-27 04:20:30 +08:00
Yudong Jin
9f883d5888 1. Fix the import error.
2. Some codes fine tuning.
2022-11-26 01:40:49 +08:00
krahets
33237373e3 Add about me. Update contribution, suggestions,
merge_sort, installation, introduction, etc.
2022-11-24 19:32:32 +08:00
krahets
0a52e531c1 Add merge sort, and sorting algorithm. 2022-11-24 01:12:14 +08:00
krahets
4290026e0e deploy 2022-11-23 21:39:39 +08:00
krahets
33d79ea6da Update docs for deployment on Vercel. 2022-11-22 17:47:26 +08:00