25 Commits

Author SHA1 Message Date
e441ee4e35 Re-implement merge sort function. (#888) 2023-10-26 02:56:33 +08:00
a6a1036dc9 fix(JS, TS): chapter_sorting QuickSortMedian and QuickSortTailCall example (#785) 2023-09-24 03:14:28 -05:00
978857570f Format JS and TS code. 2023-09-02 23:07:47 +08:00
2626de8d0b Polish the chapter
introduction, computational complexity.
2023-08-20 14:51:39 +08:00
698c2e7fe5 Fix some codes and a figure. 2023-06-05 01:03:39 +08:00
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
eb8df49993 Update bubble sort and insertion sort. 2023-05-23 21:20:14 +08:00
89a9741e9e Fix some comments. 2023-05-22 23:13:54 +08:00
f6d290d903 Update the comments of bubble sort
and insertion sort
2023-05-22 23:05:37 +08:00
de579aa3f4 Fix the file headers. 2023-04-23 19:36:07 +08:00
c4ea4e39f3 Fomrat the JS and TS codes with prettier. 2023-04-17 21:58:11 +08:00
0bec52d7cc Polish the chapter of heap, introduction, preface.
Replace "其它" with "其他"
2023-04-09 19:12:37 +08:00
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
7c501140f0 Update code style for Python 2023-03-03 03:07:22 +08:00
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
0b72fef381 Fix quick_sort.py 2023-02-21 21:51:56 +08:00
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
5f0ae848c4 Update medianThree() in quick_sort. 2023-01-15 23:32:58 +08:00
df436633ce Update JavaScript and TypeScript code style (Chapter of Sorting) 2023-01-14 23:23:15 +08:00
96355afb1c Update merge_sort.js 2022-12-30 13:22:31 -05:00
f3ef226874 Remove the spaces between “ ” and 中文 aside. 2022-12-21 01:37:58 +08:00
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
e20bc251f5 Add python code of chapter queue to docs. 2022-12-02 00:09:34 +08:00
be8a586768 Update quick_sort.js
Fix indentation
2022-12-01 22:38:01 +08:00
7eea137c28 add sort for javascript codes 2022-12-01 18:28:57 +08:00