rongyi
21be3fdaf8
[Rust] Normalize mid calculation in case overflow ( #1363 )
...
* Normalize mid calculate in case overflow
* Change ALL language
* Update merge_sort.py
* Update merge_sort.zig
* Update binary_search_tree.zig
* Update binary_search_recur.py
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2024-05-18 18:19:19 +08:00
Yudong Jin
9769e14017
Fix the median_three mehod for quick sort ( #1134 )
...
* Add the section of terminologies.
* fix format
* Fix median_three function for quick sort
* Delete docs/chapter_appendix/terminologies.md
* Update quick_sort.ts
* Update quick_sort.rs
* Update quick_sort.js
2024-03-15 01:06:59 +08:00
Yudong Jin
01c67781fa
Bug fixes and improvements ( #1133 )
...
* Bug fixes
* Update the figure of the JD link
* Unify the code comments of insertion_sort
2024-03-14 20:01:16 +08:00
Yudong Jin
f68bbb0d59
Update the book based on the revised second edition ( #1014 )
...
* Revised the book
* Update the book with the second revised edition
* Revise base on the manuscript of the first edition
2023-12-28 18:06:09 +08:00
Yudong Jin
e720aa2d24
feat: Revised the book ( #978 )
...
* Sync recent changes to the revised Word.
* Revised the preface chapter
* Revised the introduction chapter
* Revised the computation complexity chapter
* Revised the chapter data structure
* Revised the chapter array and linked list
* Revised the chapter stack and queue
* Revised the chapter hashing
* Revised the chapter tree
* Revised the chapter heap
* Revised the chapter graph
* Revised the chapter searching
* Reivised the sorting chapter
* Revised the divide and conquer chapter
* Revised the chapter backtacking
* Revised the DP chapter
* Revised the greedy chapter
* Revised the appendix chapter
* Revised the preface chapter doubly
* Revised the figures
2023-12-02 06:21:34 +08:00
Yudong Jin
e441ee4e35
Re-implement merge sort function. ( #888 )
2023-10-26 02:56:33 +08:00
Reese Wellin
a6a1036dc9
fix(JS, TS): chapter_sorting QuickSortMedian and QuickSortTailCall example ( #785 )
2023-09-24 03:14:28 -05:00
krahets
978857570f
Format JS and TS code.
2023-09-02 23:07:47 +08:00
krahets
2626de8d0b
Polish the chapter
...
introduction, computational complexity.
2023-08-20 14:51:39 +08:00
krahets
698c2e7fe5
Fix some codes and a figure.
2023-06-05 01:03:39 +08:00
Justin Tse
2532f06c7f
Add JavaScript and TypeScript code of heap sort, selection sort and binary search edge and Fix the indentation of TS code ( #545 )
...
* Fix the indentation of TS code
* Add JavaScript and TypeScript code of heap sort, selection sort and binary search edge
* Fix the style of JS and TS code
2023-06-05 00:20:11 +08:00
krahets
eb8df49993
Update bubble sort and insertion sort.
2023-05-23 21:20:14 +08:00
krahets
89a9741e9e
Fix some comments.
2023-05-22 23:13:54 +08:00
krahets
f6d290d903
Update the comments of bubble sort
...
and insertion sort
2023-05-22 23:05:37 +08:00
krahets
de579aa3f4
Fix the file headers.
2023-04-23 19:36:07 +08:00
krahets
c4ea4e39f3
Fomrat the JS and TS codes with prettier.
2023-04-17 21:58:11 +08:00
krahets
0bec52d7cc
Polish the chapter of heap, introduction, preface.
...
Replace "其它" with "其他"
2023-04-09 19:12:37 +08:00
Justin Tse
56243ccc5b
Add JavaScript and TypeScript code of bucket sort, counting sort and radix sort (Chapter of Sorting) ( #451 )
...
* Add JavaScript and TypeScript code of bucket sort (Chapter of Sorting)
* Add JavaScript and TypeScript code of counting sort (Chapter of Sorting)
* Add JavaScript and TypeScript code of radix sort (Chapter of Sorting)
2023-04-09 02:59:06 +08:00
krahets
7c501140f0
Update code style for Python
2023-03-03 03:07:22 +08:00
Justin Tse
e4a98bc9c5
Update JavaScript and TypeScript codes for all chapters, rename JavaScript and TypeScript import folder to modules ( #402 )
...
* Update JavaScript and TypeScript codes
* Rename JavaScript and TypeScript import folder to modules
2023-03-03 01:34:53 +08:00
krahets
0b72fef381
Fix quick_sort.py
2023-02-21 21:51:56 +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
Yudong Jin
5f0ae848c4
Update medianThree() in quick_sort.
2023-01-15 23:32:58 +08:00
justin
df436633ce
Update JavaScript and TypeScript code style (Chapter of Sorting)
2023-01-14 23:23:15 +08:00
GN-Yu
96355afb1c
Update merge_sort.js
2022-12-30 13:22:31 -05:00
Yudong Jin
f3ef226874
Remove the spaces between “ ” and 中文 aside.
2022-12-21 01:37:58 +08:00
Yudong Jin
ebf9024136
Add Go codes to docs, including
...
the chapter of stack and queue, the chapter of tree.
2022-12-03 20:25:24 +08:00
Yudong Jin
e20bc251f5
Add python code of chapter queue to docs.
2022-12-02 00:09:34 +08:00
Yudong Jin
be8a586768
Update quick_sort.js
...
Fix indentation
2022-12-01 22:38:01 +08:00
IsChristina
7eea137c28
add sort for javascript codes
2022-12-01 18:28:57 +08:00