913 Commits

Author SHA1 Message Date
56b20eff36 feat(csharp) .NET 8.0 code migration (#966)
* .net 8.0 migration

* update docs

* revert change

* revert change and update appendix docs

* remove static

* Update binary_search_insertion.cs

* Update binary_search_insertion.cs

* Update binary_search_edge.cs

* Update binary_search_insertion.cs

* Update binary_search_edge.cs

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-11-26 23:18:44 +08:00
f5407f2aaa Update ram_and_cache.md 2023-11-26 15:28:20 +08:00
880f233ca9 Update chapter_array_and_linkedlist/summary.md 2023-11-26 02:05:35 +08:00
020eb622b7 Add the section of ram_and_cache 2023-11-26 01:51:39 +08:00
770371527e Update quick_sort.md 2023-11-26 01:22:10 +08:00
Neo
9b35f75505 fix: Initialize go empty slice (#947)
* Fix: Initialize go empty slice

* Update list.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-11-20 02:08:29 +08:00
732750b902 Update time_complexity.md (#955) 2023-11-20 02:05:40 +08:00
b8591822d8 Fix the type annotation in Rust (#951) 2023-11-18 14:02:00 +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
9baf4a1753 Use Vec.last() method to access the top item of stack. (#942)
* Use Vec.last() method to access the top item of stack.

* Use Vec.last() method to access the top item of stack.
2023-11-13 14:18:29 +08:00
1f71f6f701 Update linked_list.md (#935)
There is no need to declare next
2023-11-11 19:53:55 +08:00
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
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
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
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
5385057993 Replace "结点" with "节点". 2023-10-27 23:24:13 +08:00
ba74d4bba7 Reduce the image files size for faster loading. (#897) 2023-10-27 20:13:08 +08:00
5b1a219b8b Fine-tune code and texts. 2023-10-27 01:01:21 +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
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
f80b25bd17 Replace Java with Python in pivot division figures 2023-10-24 22:33:38 +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
b7c110e5ec Add build check with py_compile 2023-10-23 06:02:34 +08:00
9562287a21 Update Q&A of data_structure, array_and_linkedlist (#861)
* "Add Q&A sections to array/linked_list and tree chapters"

Added question and answers related to the use of std::list in C++ and space complexity in full binary tree traversal to their respective chapters in array_and_linked_list and tree documentation.

* Update summary.md

* Update summary.md

* Update summary.md

* "Expand details on HashTable, arrays, and linked lists in docs"

Extended the section explaining how HashTables use both linear and nonlinear data structures. Added Q&A sections addressing common questions on character type size, the static and dynamic nature of array-based data structures, and distinguishing array and linked list from logic and physical perspective. These changes provide clearer understanding for readers.

* "Add FAQs to array and linked list docs chapter"

Added several Frequently Asked Questions to improve clarity in the arrays and linked list documentation chapter. These questions mainly address the behavior and structure of array initializations, circular array queues, and single-link list node deletion. Providing answers to these can enhance understanding and prevent misconceptions among readers.

* Update summary.md

* Update summary.md

* Update summary.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-10-23 04:54:25 +08:00
fa9607b749 Update permutations_problem.md (#864)
* Update permutations_problem.md

* Update permutations_problem.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-10-23 04:19:29 +08:00
fc70b1eb2c Fix the docs of binary_search_tree and
graph_operations.
2023-10-23 03:09:41 +08:00
433997c38d Fix several figures. 2023-10-19 16:22:10 +08:00
1e49574332 Simplify struct declarations of C.
Use PascalCase for all structs in C.
SImplify n_queens.c
Format C code for chapter of graph.
2023-10-18 02:16:26 +08:00
070d23ee6e fix: hash_collision.md squared detection description (#867) 2023-10-17 10:49:06 -05:00
5392afd44b fix several bugs 2023-10-17 23:45:31 +08:00
faa44fecd2 Squash the language code blocks and fix list.md (#865) 2023-10-16 12:06:00 -05:00
346c8451de Fix code naming style. 2023-10-15 21:18:09 +08:00
ada37fd1f8 Fix Python code. 2023-10-14 22:15:02 +08:00
3df5c36370 refactor: Improve the hash_map_chaining.c implementation. (#858)
* Improve the hash_map_chaining.c implementation.

* Update hash_map_chaining.c
2023-10-13 02:04:45 -05:00
84e2799f1b Fix hash_map_chaining.c and
hash_map_open_addressing.c
2023-10-13 14:32:49 +08:00
da5ef293d9 fix a typo 2023-10-11 17:39:56 +08:00
227bd66223 Update Dockerfile and mkdocs.yml
Fix a variable name in list.md
2023-10-10 13:16:09 +08:00
c37b7c807b Several bug fixes 2023-10-09 18:21:18 +08:00