1724 Commits

Author SHA1 Message Date
f0c81ce048 Update basic_data_types.md and reduce size of assembling_blocks.png (#926)
* Convert a figure to png-8.

* Update basic_data_types.md
2023-11-08 02:19:45 +08:00
c6e7ea8112 Update the logo and favicon (#924)
* Update ieration_and_recursion.md

* Update the logo and favicon.
2023-11-06 23:27:09 +08:00
c7b863f705 Several bug fixes (#919)
* Fix index.md

* Update the badge in index.md

* Fix the programming languages order.
2023-11-04 04:59:15 +08:00
88099b96fa Update index.md 2023-11-04 04:17:14 +08:00
7c70b5a466 Update README.md (#918)
* Update README.md

* Update README.md

* Update README.md

* Update README.md
2023-11-04 04:01:06 +08:00
5f3ad1ed3d A few bug fixes. 2023-11-03 22:48:43 +08:00
6c16276494 Update terminology.md (#915)
* Update terminology.md

对应链表linked list 为 linked list node ,而不应该是对应下文的列表list node

* Update terminology.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-11-03 17:51:51 +08:00
7f26e28280 Update preface. 2023-11-03 17:46:38 +08:00
23cce00e09 Fix Python build check script. (#911)
* Fix Python build check script.

* Update python code check workflow

* Update python test script.

* Compatible with Python >=3.9

* Compatible with Python >=3.10

* Fix errors in Windows

* test

* Add Python version in installation.md

* Update test_all.py
2023-11-02 21:58:14 +08:00
459697a131 Update README 2023-11-02 01:38:08 +08:00
71b9ded0b9 Remove the unused files. 2023-11-02 01:22:54 +08:00
0217624818 Update README (#909) 2023-11-02 01:08:36 +08:00
355cc3a6b1 Bug fixes to C code. 2023-11-01 05:14:22 +08:00
f7dd05e7a4 Add missing terminologies (#905)
* Update terminology.md

* Update terminology.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-10-30 14:16:10 +08:00
33acfc0af7 Fix a typo 2023-10-30 05:30:49 +08:00
6133aa63ba feat: Add the section of terminologies. (#902)
* Add the section of terminologies.

* fix format
2023-10-30 05:14:21 +08:00
e629864852 Prepare 1.0.0b6 release. 1.0.0b6 2023-10-29 20:22:07 +08:00
9c28619839 feat: Reimplement the graph code for C (#901)
* Reimplement the graph code for C

* Free memory of **vertices.
2023-10-29 19:52:19 +08:00
db5d1d21f3 Several bug fixes. 2023-10-29 00:09:54 +08:00
efbbfd8203 Reimplement the graph code for C 2023-10-29 00:08:28 +08:00
c37f0981f0 feat: refactor top_k.ts (#899) 2023-10-28 14:27:52 +08:00
f98b337144 refactor: Re-implement hanota.c (#885)
* feat: re-impl hanota.c

* chore: Remove useless comment code

* Update hanota.c

* Update hanota.c

* Update print_util.h

* Update CMakeLists.txt

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-10-27 23:41:58 +08:00
492a69ebca refactor: Replace vector with array in C code (#894)
* Re-implement merge sort function.

* Replace vector with array for C.

* fix
2023-10-27 23:26:48 +08:00
5385057993 Replace "结点" with "节点". 2023-10-27 23:24:13 +08:00
7605cab160 feature(swift): Reimplement merge_sort and top_k (#898)
* feat: Add swift-collections

* fix: use heap

* refactor: merge

* fix: import HeapModule
2023-10-27 22:59:54 +08:00
ba74d4bba7 Reduce the image files size for faster loading. (#897) 2023-10-27 20:13:08 +08:00
1ab83bd3ef refactor(dart): Re-implement merge sort function (#896) 2023-10-27 16:00:26 +08:00
bd8cda325e A few improvements to the C code. 2023-10-27 01:13:36 +08:00
0e10274bb4 Update arrayToTree() and treeToArray() for C. 2023-10-27 01:04:17 +08:00
5b1a219b8b Fine-tune code and texts. 2023-10-27 01:01:21 +08:00
3628b40f44 refactor: re-implement the rust codes of merge sort (#891) 2023-10-26 22:24:02 +08:00
08311f954a CI(dart): Cancel beta and dev Dart SDK (#893) 2023-10-26 22:23:26 +08:00
356db47cd4 Update array.md (#890)
* Update array.md

* Update array.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-10-26 22:22:19 +08:00
e441ee4e35 Re-implement merge sort function. (#888) 2023-10-26 02:56:33 +08:00
7822bf9cd4 feat: add top_k.c and refactor top_k.js (#889)
* Add top_k.c based on my_heap.c

* Improve the implementation of top_k.js

* Add a comment to top_k
2023-10-26 02:54:19 +08:00
9f4076d1c1 Update to checkout@v4 2023-10-26 00:09:25 +08:00
a8b2350705 feat(dart): Add build check for Dart (#886)
* feat(dart): Add build check for Dart

* feat(dart): Add dart analyze to check

* fix(dart): remove dart analyze

* feat(dart): Ignore unused variable and add dart analyze
2023-10-25 23:15:53 +08:00
d26e811e10 Several bug fixes and improvements. (#887)
* fix the bugs of C code.

* Add a header figure.

* Improve the definition of tree node height.
2023-10-25 22:59:25 +08:00
436b6fa9a6 Add C++ iterator example for C++ (#837)
* 增加c++迭代器访问示例

* Update hash_map.md

* Update hash_map.cpp

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-10-24 23:59:10 +08:00
2035aa0cf1 feat: iteration & recursion in Zig (#804)
* iteration & recursion in Zig

* missing part in time_complexity.md (zig)

* build.zig sync

* Update recursion.zig

* Update iteration.zig

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-10-24 23:49:13 +08:00
19023148ba feat: Update the implementation of hash_map_open_addressing.js and .ts (#881)
* add permutations_ii.c and re-implement permutations_i.c

* Update the implementation of hash_map_open_addressing.js and .ts

* Update hash_map_open_addressing.js

* Update hash_map_open_addressing.js
2023-10-24 23:46:34 +08:00
dbc76ec806 Add workflow_dispatch to Swift, Python and C# CI Check (#882)
* Update swift.yml

* Update dotnet.yml

* Update python.yml

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-10-24 23:08:15 +08:00
f80b25bd17 Replace Java with Python in pivot division figures 2023-10-24 22:33:38 +08:00
fb3ce050c1 feat(csharp): add .net building and testing workflow, solution file (#879) 2023-10-24 17:13:29 +08:00
17252b53a9 Format code and docs. 2023-10-24 16:19:29 +08:00
d639d946f0 fix: Removed unnecessary JS & TS codes in linked_list.md (#852)
* fix: Removed unnecessary JS & TS codes in linked_list.md

* Update linked_list.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-10-24 15:34:55 +08:00
88a1e4aaac refactor(JS, TS): Improve code readability in edit_distance (#860)
* fix(JS、TS): chapter_sorting QuickSortMedian and QuickSortTailCall example

* refactor(JS、TS): Improve code readability in edit_distance

* Updated code
2023-10-24 15:32:20 +08:00
d27890d98d Fix automating build workflow for Python 2023-10-23 16:06:33 +08:00
b7c110e5ec Add build check with py_compile 2023-10-23 06:02:34 +08:00
1b9978998a Create python.yml (#877) 2023-10-23 05:59:00 +08:00