29 Commits

Author SHA1 Message Date
a005c6ebd3 Some improvements (#1073)
* Update avatar's link in the landing page

* Bug fixes

* Move assets folder from overrides to docs

* Reduce figures' corner radius

* Update copyright

* Update header image

* Krahets -> krahets

* Update the landing page
2024-02-07 22:21:18 +08:00
ee485372fe feat: Add pythontutor blocks to the rest of the chapters (#1030)
* Fix Python code

* Add the pythontutor blocks of the chapter tree, heap, graph, searching, sorting, divide and conquer, dynamic programming and greedy.
Improve the pythontutor blocks of the chapter array and linkedlist and backtracking.
Add the tutorial of pythontutor in how-to-read section.

* Reduce the image's file size.
2024-01-07 23:49:26 +08:00
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
5aacf2dfe0 Improve Python code for importing modules. 2023-10-19 16:21:51 +08:00
2626de8d0b Polish the chapter
introduction, computational complexity.
2023-08-20 14:51:39 +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
69920a0599 Fix binary search.
Finetune a figure in intro_to_dp.
2023-07-01 20:07:21 +08:00
e35e2e31eb Add the figure of assembling blocks.
Update some texts.
2023-05-31 01:04:40 +08:00
e196962d0a Simplify the declarations of the Python code. 2023-05-22 22:03:57 +08:00
24d90931e3 Update the callouts for the algorithm problems. 2023-05-21 19:58:21 +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
fe69f7240d Add figures to replace_linear_by_hashing.md 2023-05-09 00:36:18 +08:00
881d573790 Refactor the articles related to searching algorithm. Add the chapter of binary search. Add the section of searching algorithm revisited. (#464) 2023-04-17 18:22:18 +08:00
10e2180013 Unify the comment style of python codes 2023-04-09 05:30:02 +08:00
5ddcb60825 Format python codes with black. (#453) 2023-04-09 05:05:35 +08:00
1c8b7ef559 refactor: Replace 结点 with 节点 (#452)
* Replace 结点 with 节点
Update the footnotes in the figures

* Update mindmap

* Reduce the size of the mindmap.png
2023-04-09 04:32:17 +08:00
8918ec9079 refactor: Follow the PEP 585 Typing standard (#439)
* Follow the PEP 585 Typing standard

* Update list.py
2023-03-23 18:51:56 +08:00
9151eaf533 Add typing annotations to Python codes. (#411) 2023-03-12 18:49:52 +08:00
7c501140f0 Update code style for Python 2023-03-03 03:07:22 +08:00
f14e3e4c57 Update linear_search and hashing_search. 2023-02-04 23:49:37 +08:00
919236f479 1. Add array representation of binary tree.
2. Update the LEGO example.
3. Update headers of the Python files.
2022-12-23 00:44:40 +08:00
8e34be0641 Add Python code (Chapter of searching)
to the docs.
2022-12-04 01:43:58 +08:00
7e880d47f1 Update binary_search.py 2022-12-03 22:57:05 +08:00
91200f0add Update linear_search.py 2022-12-03 22:54:19 +08:00
255701db90 Update hashing_search.py 2022-12-03 22:53:53 +08:00
5b051fd48a Update binary_search.py 2022-12-03 22:52:58 +08:00
9a861140d8 Rearrange the chapters.
Start to translate codes from Java to Python.
2022-11-25 02:04:38 +08:00