130 Commits

Author SHA1 Message Date
8e38c61455 Bug fixes and improvements (#1732)
* Bug fixes

* Sync zh and zh-hant versions.

* "入列列" -> "入佇列"

* Fix hello_algo_mindmap.png
2025-04-10 19:21:52 +08:00
2a955f937c Bug fixes and improvements (#1602)
* Fix the search panel on mobile devices.

* Fix the search panel for mobile devices.

* Update about_the_book.md
2025-01-02 21:50:42 +08:00
dad0a3fd95 Prepare 1.2.0 release (#1585)
* Sync zh and zh-hant versions

* Update the list of contributors.

* Update time_complexity_simple_example.png

* Reduce size of the RGBA images for zh-hant version.

* Sync the zh-hant version of terminology.md

* Prepare 1.2.0 release

* Update the contributors list.
2024-12-06 09:03:43 +08:00
c9041c5c5e Bug fixes and improvements (#1472)
* preorder, inorder, postorder -> pre-order, in-order, post-order

* Bug fixes

* Bug fixes

* Update what_is_dsa.md

* Sync zh and zh-hant versions

* Sync zh and zh-hant versions.

* Update performance_evaluation.md and time_complexity.md

* Add @khoaxuantu to the landing page.

* Sync zh and zh-hant versions

* Add @ khoaxuantu to the landing page of zh-hant and en versions.

* Sync zh and zh-hant versions.

* Small improvements

* @issue :  #1450 (#1453)

Fix writing "obsecure" to "obscure"

Co-authored-by: Gaya <kheliligaya@gmail.com>

* Update the definition of "adaptive sorting".

* Update n_queens_problem.md

* Sync zh, zh-hant, and en versions.

---------

Co-authored-by: Gaya-Khelili <50716339+Gaya-Khelili@users.noreply.github.com>
Co-authored-by: Gaya <kheliligaya@gmail.com>
2024-07-30 16:56:59 +08:00
d484b08c15 Prepare 1.1.0 release (#1274)
* Update bucket_sort.c

* Fix the comments in quick_sort.c

* Update the announce badge

* Sync zh and zh-hant versions

* Update contributors list.

* Sync zh and zh-hant versions.

* Sync zh and zh-hant versions.

* Update the contributors list

* Update the version number
2024-04-14 20:46:20 +08:00
ab536479d0 feat: add correct comment for RUBY (#1247)
* feat: add correct comment for RUBY

* fix: use correct multi-line comments for RUBY
2024-04-10 18:11:19 +08:00
df83b869eb Add the chapter of hello_algo (#1215)
* Add the chapter of hello_algo

* Remove the comment field from the landing page

* Update the link in the landing page

* Fix a typo
2024-04-03 05:06:11 +08:00
2b1a98fb61 Use underline format for the technical terms (#1213)
* Use underline format for the technical terms

* Bug fixes
2024-04-03 03:52:17 +08:00
b3f100aff1 Bug fixes and improvements (#1205)
* Add Ruby code blocks to documents

* Remove Ruby code from en/docs

* Remove "center-table" class in index.md

* Add "data-toc-label" to handle the latex heading during the build process

* Use normal JD link instead.

* Bug fixes
2024-04-01 19:37:00 +08:00
57bdfd6284 Add Ruby code blocks to the documents (#1200)
* Add Ruby code blocks to documents

* Remove Ruby code from en/docs
2024-03-31 03:57:11 +08:00
202450420d Add the kotlin blocks to the documents (#1170) 2024-03-25 03:15:36 +08:00
87e5b297f8 Reduce the file size of the landing page (#1105)
* Update suggestions.md

* Add announcement of the paper book release

* Fix size of svg

* Update contrib rocks image

* Optimize HTML of the landing page

* Fix the line breaks
2024-03-04 13:37:29 +08:00
799da32eb0 Bug fixes and improvements (#1092)
* Bug fixes

* Bug fixes

* Reduce figures size

* Update LeetCode problems repo in suggestions.md

* Fix the figures of pivot_division_steps
2024-02-23 01:22:46 +08:00
b77abf058a typo: Fix typo in chapter_preface/index.md (#1072)
* typo: Fix typo in chapter_preface/index.md

* Update index.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-02-04 22:37:14 +08:00
ead5182288 Update the landing page, preface and reference (#1067)
* Add preface to the preface chapter and the introduction chapter

* Update the landing page

* Update the reference
2024-01-30 17:48:54 +08:00
0d294b1731 Improve the landing page, mindmap and pull request template (#1053)
* Add the hero image.

* Remove code badges from the landing page

* Update the style of the mindmap

* Update the quote of knowledge sharing

* Fix a type

* Update the pull request template

* Update index.md of docs-en
2024-01-17 15:26:02 +08:00
f6976978dd Prepare 1.0.0 release (#1044)
* Update the book with the thrid revised edition

* Fix a typo

* Update the contributors' information

* Update the mindmap

* Update the version number
2024-01-14 03:16:20 +08:00
d85a3bb74d Figures revision and bug fixes (#1041)
* Revised the figures thoughout the book.

* Utilize roboto and roboto mono as the font faimly of the English edition

* Fix the naming style

* Update two figures.

* Fix margin of the hero image

* Fix margin of the hero image
2024-01-12 14:15:07 +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
5866d275ff Fix two figures (#1024)
* Fix two figures

* Fix a figure
2024-01-04 02:48:48 +08:00
ef40418129 Update README and the contributors information 2024-01-02 15:14:42 +08:00
e4252d5733 Update the figures and cover images (#1020)
* Update all the figures

* Update the data structure, sorting, divide and conquer chapters' covers. Add the English edition covers.

* Fix the link of EN translation in README

* Update README.md

* Update README.md

* Update README-en.md
2024-01-02 15:06:44 +08:00
f68bbb0d59 Update the book based on the revised second edition (#1014)
* Revised the book

* Update the book with the second revised edition

* Revise base on the manuscript of the first edition
2023-12-28 18:06:09 +08:00
9a5ab776d6 A bug fix. 2023-12-19 21:55:57 +08:00
723af99fb9 Update the assets and GIF animations. (#979) 2023-12-04 03:19:48 +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
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
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
7f26e28280 Update preface. 2023-11-03 17:46:38 +08:00
71b9ded0b9 Remove the unused files. 2023-11-02 01:22:54 +08:00
ba74d4bba7 Reduce the image files size for faster loading. (#897) 2023-10-27 20:13:08 +08:00
faa44fecd2 Squash the language code blocks and fix list.md (#865) 2023-10-16 12:06:00 -05:00
b39c2a94d3 Move docs/zh back to docs.
Move docs/overrides to overrides/.
Other fine tunes.
2023-10-08 04:25:06 +08:00
6f7e768cb7 Move docs/* to docs/zh/* 2023-10-08 01:33:09 +08:00
400b3914f6 Move docs/zh back to docs. 2023-10-08 01:22:57 +08:00
f1ef7e9d10 Move documents to a sub-directory
to support multi-language selector.
2023-10-06 00:57:28 +08:00
ddb2f9e024 Update suggestions (#812)
* Update suggestions

Here I think using "code warehouse" instead of "code warehouse" can eliminate unnecessary ambiguity.

* Update suggestions.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-10-01 06:30:32 -05:00
e567d08348 Bug fixes 2023-09-26 10:57:53 +08:00
ff8e7ceec5 Several bug fixes. 2023-09-24 20:38:21 +08:00
e3773b7f76 Several bug fixes and improments. 2023-09-24 19:35:32 +08:00
9f59c572b5 fine tune 2023-09-17 01:13:15 +08:00
3e41e2f475 Update suggestions.md (#744)
给Rust添加注释说明
2023-09-13 02:51:23 +08:00
5f814d6538 Add comparison between iteration and recursion.
Fix the figure of tail recursion.
Fix two links.
2023-09-12 00:56:59 +08:00
9c3b7b6422 Sort the coding languages by applications. (#721) 2023-09-04 03:19:08 +08:00
e16f898a4e Finetune all the figures. (#704) 2023-08-30 05:20:43 +08:00
d387d9d41d finetune 2023-08-29 20:57:37 +08:00
57851ab11e Update punctuation 2023-08-27 23:40:39 +08:00
c5a7323817 Replace ":" with "。" 2023-08-27 22:49:47 +08:00
1aa558bd2d Add figure and table numbers in normal texts. 2023-08-22 13:51:25 +08:00
106f02809a Mention figures and tables in normal texts.
Fix some figures.
Finetune texts.
2023-08-21 19:33:45 +08:00