Commit graph

17 commits

Author SHA1 Message Date
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