72 Commits

Author SHA1 Message Date
82f006372e fix(Dart): Avoid using num as a variable name (#946) 2023-11-16 00:32:39 +08:00
fcbaf101a4 Several bug fixes and improvements (#945)
* Update Dockerfile for code debugging.

* Format Python code using Black.

* Improve dark theme by defining html classes for the figures, animations and cover images.

* Fix several glossary translation.

* Update a code comment.

* Fix climbing_stairs_backtrack: the pruning should not require the sorted choices list.

* Update the code of array and list traversal.

* Fix a rendering issue of README.md

* Update code of list traversal.

* Fix array_definition.png

* Update README.md

* Fix max_capacity_moving_short_board.png

* Fix array.dart

* Fix array.dart

* Fix array.dart

* Fix array.dart
2023-11-14 21:27:35 +08:00
5f3ad1ed3d A few bug fixes. 2023-11-03 22:48:43 +08:00
355cc3a6b1 Bug fixes to C code. 2023-11-01 05:14:22 +08:00
db5d1d21f3 Several bug fixes. 2023-10-29 00:09:54 +08:00
1ab83bd3ef refactor(dart): Re-implement merge sort function (#896) 2023-10-27 16:00:26 +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
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
5392afd44b fix several bugs 2023-10-17 23:45:31 +08:00
a8c624fa5a Fix the code in min_path_sum 2023-10-14 03:25:11 +08:00
fb552987f5 Update variable names in list and my_list 2023-10-09 18:20:42 +08:00
e3366363b6 feat(dart): add forLoopRecur and update HashMapOpenAddressing (#802)
* feat(dart): add forLoopRecur

* feat(dart): update HashMapOpenAddressing
2023-09-25 22:04:13 -05:00
ff8e7ceec5 Several bug fixes. 2023-09-24 20:38:21 +08:00
9f59c572b5 fine tune 2023-09-17 01:13:15 +08:00
cb9c14f5ff fix build_tree, binary_search_tree.cs
fix two figures
2023-09-15 02:08:09 +08:00
f71b2a40da fix preorder_traversal_iii_compact code 2023-09-09 00:51:00 +08:00
dd72335235 Format C, C++, C#, Go, Java, Python, Rust code. 2023-09-02 23:54:38 +08:00
233e842d63 fix dart code for binary_search_tree (#711) 2023-08-31 16:55:16 +08:00
a47a974a6a fix climbing_stairs_constraint_dp code 2023-08-31 02:31:58 +08:00
628d8a516b fix binary_search_tree code 2023-08-31 02:31:31 +08:00
63aef4ed08 Fix a figure and latex symbols. 2023-08-30 15:25:03 +08:00
50e17905fd feat: Add Dart Codes for section_iteration_and_recursion (#696) 2023-08-28 00:50:26 +08:00
9731a46d67 Fix a definition. 2023-08-27 00:50:18 +08:00
f5dda8d99a Polish the content 2023-08-21 03:06:53 +08:00
2626de8d0b Polish the chapter
introduction, computational complexity.
2023-08-20 14:51:39 +08:00
c310edb672 Polish the chapter of array and linkedlist 2023-08-17 05:13:19 +08:00
0858ab91c0 Add missing Dart codes and fix some errors (#689)
* Add missing Dart codes and fix some errors

* Update array_binary_tree.dart

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-08-17 05:04:38 +08:00
4c75c204f3 feat: Add Dart codes for binary search (#688) 2023-08-14 23:07:20 +08:00
0c18198c01 Fix the figures.
Polish the chapter of data structure.
2023-08-13 19:32:11 +08:00
10c397b172 feat: Add Dart codes for chapter_dynamic_programming and chapter_greedy (#683)
* feat: Add Dart codes for chapter_dynamic_programming

* feat: Add Dart codes for chapter_greedy
2023-08-13 19:29:54 +08:00
4325974af1 feat: Add Dart codes for chapter_backtracking and chapter_divide_and_conquer (#680)
* feat: Add Dart codes for chapter_backtracking

* feat: Add Dart codes for chapter_divide_and_conquer

* Format Dart Code
2023-08-10 23:48:56 +08:00
932d14644d Polish the content
Polish the chapter preface, introduction and complexity anlysis
2023-08-08 23:16:33 +08:00
71074d88f6 Add the section of binary search insertion. (#671)
Refactor the section of binary search edge.
Finetune the figures of binary search.
2023-08-04 05:16:56 +08:00
6da6d24193 Fix the code of hash map chaining. 2023-08-01 17:05:40 +08:00
62e8f0df50 feat: complete Dart codes for chapter_hashing (#566) 2023-06-25 20:57:37 +08:00
9563965a20 Add the codes of hashmap (#553)
of chaining and open addressing
2023-06-14 02:01:06 +08:00
6377e3316a Fix a comment in my_list.xx 2023-06-03 22:18:28 +08:00
d0b1bf9b1a Update two_sum.dart (#544) 2023-06-02 20:23:27 +08:00
281c0c618a feat: modify some Dart codes and add Dart code blocks to the docs (#543) 2023-06-02 14:56:29 +08:00
53e18bc6d6 feat: complete dart code for chapter_searching and chapter_sorting (#526) 2023-06-02 02:52:10 +08:00
025051c81b Add Dart codes to the documents. (#529) 2023-06-02 02:40:26 +08:00
8247a611d7 Update Dart code to output same as Java (#522) 2023-05-30 13:00:16 +08:00
b39e79be85 Fix remove() in binary search tree. 2023-05-26 20:34:22 +08:00
11c835d79c Update the section of heap. 2023-05-25 20:25:19 +08:00
eb8df49993 Update bubble sort and insertion sort. 2023-05-23 21:20:14 +08:00
f6d290d903 Update the comments of bubble sort
and insertion sort
2023-05-22 23:05:37 +08:00
d95c628eef Fix the test case of binary search. 2023-05-21 19:29:24 +08:00
d3cc149c5a Merge the chapter of binary tree and searching. 2023-05-21 19:26:52 +08:00
c3e7455285 Refactor the section of bianry search. 2023-05-21 04:51:32 +08:00
921d87c238 feat: add chapter_binary_search by dart (#506)
* feat: add chapter_sorting by dart

* feat: add chapter_searching by dart

* feat: add chapter_binary_search by dart

---------

Co-authored-by: huangjianqing <huangjianqing@52tt.com>
2023-05-21 02:31:15 +08:00