Yudong Jin
ee716a2c23
feat: Add the section of heap sort. ( #516 )
...
* Add the section of heap sort.
* Update heap_sort.cpp
2 years ago
krahets
afb08a26e0
Fix a typo.
2 years ago
krahets
11c835d79c
Update the section of heap.
2 years ago
krahets
b9178bc7d6
Polish some texts.
2 years ago
krahets
dc49fdf75e
Polish some contents.
2 years ago
krahets
38c56b581a
Fix the figures of selection sort.
2 years ago
Yudong Jin
77b4f4c400
Add the section of selection sort. ( #513 )
2 years ago
krahets
5dff1bd0e8
Update the insertion sort.
2 years ago
krahets
588980af86
Update the sorting algorithms.
2 years ago
krahets
a2d2011c78
Update some figures in bubble sort
...
and insertion sort
2 years ago
krahets
eb8df49993
Update bubble sort and insertion sort.
2 years ago
krahets
399e5df39a
Polish some cotents.
2 years ago
krahets
7ca27c3df1
Prepare 1.0.0b3 release.
2 years ago
krahets
ca76336a55
Fix C code in quick_sort.md
2 years ago
Yudong Jin
dbc4906582
Publish the C codes to the docs. ( #469 )
2 years ago
Yudong Jin
49606fd199
Add the chapter of backtracking. ( #459 )
2 years ago
krahets
7273ee24e8
Fix the contents.
2 years ago
krahets
9a74d9a9d1
Polish the chapter of searching and sorting.
2 years ago
krahets
0bec52d7cc
Polish the chapter of heap, introduction, preface.
...
Replace "其它" with "其他"
2 years ago
Yudong Jin
1c8b7ef559
refactor: Replace 结点 with 节点 ( #452 )
...
* Replace 结点 with 节点
Update the footnotes in the figures
* Update mindmap
* Reduce the size of the mindmap.png
2 years ago
krahets
de6945f55a
Polish the contents
...
1. Array and linked list.
2. Computational complexity.
3. Fix a mistake in counting_sort.md
2 years ago
Yudong Jin
830ec69d39
Add bucket_sort.cpp and bucket_sort.py ( #446 )
2 years ago
krahets
264adf250a
Polish the content of intro_to_sort
2 years ago
krahets
423cc6fc2a
Update the summary of the sorting chapter.
2 years ago
Yudong Jin
34a1bca627
Add the section of radix sort. ( #441 )
2 years ago
krahets
c338a6d8d8
Add the section of bucket sort
2 years ago
krahets
22898b6955
Simplify the contents of the sorting algorithms.
2 years ago
krahets
f4e01ea32e
Update counting_sort.md
2 years ago
krahets
326a56fdd9
Add the overview figure of counting sort.
2 years ago
krahets
501502662c
Update quick_sort.md
2 years ago
Yudong Jin
ceeb138487
Add the section of counting sort. ( #427 )
2 years ago
Yudong Jin
9151eaf533
Add typing annotations to Python codes. ( #411 )
2 years ago
krahets
198d1e6a23
Update sorting_algorithms_comparison.png
2 years ago
krahets
18f2ec4fdc
Fix array_deque.java
...
Unify the book name.
Update cover image.
2 years ago
krahets
0e67c07b28
Update sorting_algorithm_comparison.png
2 years ago
krahets
c2d641537e
Add summary for the chapters of introduction, hashing, heap, graph, sorting
2 years ago
krahets
23cda5e225
Add captions for all the animations.
2 years ago
krahets
7aa44d212c
Remove all the table captions.
2 years ago
krahets
9e99ac06ce
Update the captions of all the figures.
2 years ago
krahets
b25aadae6f
Remove the file headers from the docs.
2 years ago
krahets
2b33f7bc5f
Add step symbols in animations and unify font size for all the figures
2 years ago
krahets
e500b19f5a
Update the labels of the figures.
2 years ago
krahets
d87c9b5084
Add floating-point format in data_and_memory.md
2 years ago
krahets
3daaf30f23
Update the symbols of the animations.
2 years ago
krahets
88b00151b0
Remove the heading numbers
...
in all the source docs.
2 years ago
krahets
d1e1d76162
Add sorce code blocks of C to the docs.
2 years ago
krahets
ec25970e8e
Update .gitignore
...
Add build script for Zig.
2 years ago
krahets
e8c78f89f0
Add build script for Go and update Go codes.
2 years ago
krahets
6dc21691ed
Add build scripts for C# and
...
unify the coding style.
2 years ago
krahets
38751cc5f5
Add build script for Swift.
2 years ago
krahets
05f0054005
Add build script for JS and TS codes.
2 years ago
krahets
22b7d65d20
Replace ```js with ```javascript
2 years ago
krahets
0407cc720c
Fix Repo
2 years ago
krahets
ecbf2d1560
1. Add build script for Java.
...
2. Add height limitation for code blocks in extra.css.
3. Fix "节点" to "结点".
2 years ago
krahets
ea901af217
1. Add the building util of Python
...
for the markdown docs.
2. Update the deploy.sh
2 years ago
方圆
ea6a43b2b9
插入排序: 修改插入排序思想描述 ( #322 )
...
* 插入排序: 修改插入排序思想描述
* Update insertion_sort.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
Yudong Jin
592965595e
Fix code indentation.
2 years ago
Yudong Jin
7ce7386bab
Add Zig code blocks.
2 years ago
Yudong Jin
eb0afc98ec
Number the H1 and H2 headings.
2 years ago
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
2 years ago
Cavin
773e718be6
Update intro_to_sort.md ( #310 )
...
“运行地快”,本想修正为”运行得快“,但觉得过于口语化,”运行快“更加符合书面用语
2 years ago
Yudong Jin
fc221b19da
fix: stack_operations.png, bubble_sort.py
2 years ago
方圆
52d5258f68
fix: 冒泡排序 自适排序 -> 自适应排序
2 years ago
Yudong Jin
b716359c99
Merge branch 'master' of github.com:krahets/hello-algo
2 years ago
Yudong Jin
5f0ae848c4
Update medianThree() in quick_sort.
2 years ago
dshlstarr
ea3eee8b87
Update quick_sort.md
...
Fix the Golang code for median
2 years ago
justin
df436633ce
Update JavaScript and TypeScript code style (Chapter of Sorting)
2 years ago
Yudong Jin
40b5be5302
Unify the naming of the C codes.
2 years ago
Yudong Jin
aaa2ff29f9
Fix all the ** (bolded symbols).
2 years ago
reanon
0243957015
doc(code): modify go code in docs
2 years ago
Yudong Jin
73e3452838
Add Swift language blocks to the docs.
2 years ago
Yudong Jin
694ea4f665
Modify `。** ` to `**。` for better visualization.
2 years ago
Yuelin Xin
c8dac9b5c1
修改错别字
2 years ago
Yudong Jin
75217d5e8b
Update bubble sort (C) and insertion sort (C).
2 years ago
GN-Yu
af0ce1f344
Merge branch 'krahets:master' into patch-1
2 years ago
L-Super
23bbaf12b9
Merge branch 'krahets:master' into patch-1
2 years ago
Listening
0dda12e0ab
add insertion sort content
2 years ago
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++];
}
2 years ago
Yudong Jin
34ad07bfed
Fine tune
2 years ago
L-Super
75be76cebe
Update bubble_sort.md
...
fixed `falg` to `flag`
2 years ago
L-Super
770e3ca4ce
Update bubble_sort.md
...
C++使用std::swap()交换数组,同时添加C语言代码,作为原始C++代码的补充
2 years ago
Yudong Jin
8733557f00
Update C# code.
2 years ago
Yudong Jin
b1645c7d7e
Fine tune
2 years ago
zhuzhiqing
a427cb1b4d
完善所以c#相关的文档和代码
2 years ago
Yudong Jin
f3ef226874
Remove the spaces between “ ” and 中文 aside.
2 years ago
iron-irax
15e964973a
Update intro_to_sort.md
...
字符缺失 : "相等素"->"相等元素"
2 years ago
liuxjerry
3c59eeab0e
Update intro_to_sort.md
2 years ago
machangxin
4d3128a4a7
merge sort using go
2 years ago
Yudong Jin
58ca52d8ab
Merge pull request #98 from justin-tse/dev-sorting-js
...
Add the TypeScript code and docs for Chapter of Sorting
2 years ago
justin
14e14677cd
Add the TypeScript code to docs (Chapter of Sorting)
2 years ago
machangxin
e862a06c4c
Quick sort using go
2 years ago
machangxin
e2ae907cd1
Insertion sort using go
2 years ago
machangxin
51a6f374a7
Insertion sort using go
2 years ago
Yudong Jin
0eebeea530
Update table of content
2 years ago
Yudong Jin
122b0eca26
Update figures.
2 years ago
Yudong Jin
c8336df86d
Fix array.md
2 years ago
chenshilong
10b1216675
bubble sort using go
2 years ago
Yudong Jin
9bd5980a81
Organizing all the code blocks.
2 years ago
Yudong Jin
1728be1e61
Update quick_sort.md
...
Fix indentation
2 years ago
IsChristina
7eea137c28
add sort for javascript codes
2 years ago