krahets
198d1e6a23
Update sorting_algorithms_comparison.png
2023-03-04 03:14:48 +08:00
krahets
18f2ec4fdc
Fix array_deque.java
...
Unify the book name.
Update cover image.
2023-02-27 19:08:32 +08:00
krahets
0e67c07b28
Update sorting_algorithm_comparison.png
2023-02-26 22:52:38 +08:00
krahets
c2d641537e
Add summary for the chapters of introduction, hashing, heap, graph, sorting
2023-02-26 22:47:21 +08:00
krahets
23cda5e225
Add captions for all the animations.
2023-02-26 19:22:46 +08:00
krahets
7aa44d212c
Remove all the table captions.
2023-02-26 18:23:11 +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
d87c9b5084
Add floating-point format in data_and_memory.md
2023-02-22 19:02:26 +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
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
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
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
方圆
ea6a43b2b9
插入排序: 修改插入排序思想描述 ( #322 )
...
* 插入排序: 修改插入排序思想描述
* Update insertion_sort.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-04 18:38:52 +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
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
Cavin
773e718be6
Update intro_to_sort.md ( #310 )
...
“运行地快”,本想修正为”运行得快“,但觉得过于口语化,”运行快“更加符合书面用语
2023-01-30 15:44:59 +08:00
Yudong Jin
fc221b19da
fix: stack_operations.png, bubble_sort.py
2023-01-18 19:09:56 +08:00
方圆
52d5258f68
fix: 冒泡排序 自适排序 -> 自适应排序
2023-01-16 17:57:28 +08:00
Yudong Jin
b716359c99
Merge branch 'master' of github.com:krahets/hello-algo
2023-01-15 23:33:05 +08:00
Yudong Jin
5f0ae848c4
Update medianThree() in quick_sort.
2023-01-15 23:32:58 +08:00
dshlstarr
ea3eee8b87
Update quick_sort.md
...
Fix the Golang code for median
2023-01-15 17:17:52 +08:00
justin
df436633ce
Update JavaScript and TypeScript code style (Chapter of Sorting)
2023-01-14 23:23:15 +08:00
Yudong Jin
40b5be5302
Unify the naming of the C codes.
2023-01-12 00:31:11 +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
Yudong Jin
694ea4f665
Modify 。**
to **。
for better visualization.
2023-01-07 20:34:32 +08:00
Yuelin Xin
c8dac9b5c1
修改错别字
2023-01-06 20:08:25 +00:00
Yudong Jin
75217d5e8b
Update bubble sort (C) and insertion sort (C).
2023-01-06 03:31:58 +08:00
GN-Yu
af0ce1f344
Merge branch 'krahets:master' into patch-1
2022-12-30 13:19:21 -05:00
L-Super
23bbaf12b9
Merge branch 'krahets:master' into patch-1
2022-12-30 09:30:51 +08:00
Listening
0dda12e0ab
add insertion sort content
2022-12-30 09:26:26 +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
34ad07bfed
Fine tune
2022-12-27 20:11:22 +08:00
L-Super
75be76cebe
Update bubble_sort.md
...
fixed `falg` to `flag`
2022-12-26 12:11:21 +08:00
L-Super
770e3ca4ce
Update bubble_sort.md
...
C++使用std::swap()交换数组,同时添加C语言代码,作为原始C++代码的补充
2022-12-26 10:17:35 +08:00
Yudong Jin
8733557f00
Update C# code.
2022-12-24 17:05:58 +08:00