Commit graph

1018 commits

Author SHA1 Message Date
khoaxuantu
85ca4cce43
feat: Add ruby code - chapter "array & linked list" (#1158)
* feat: add ruby code chapter array & linked list

- array.rb
- linked_list.rb
- list.rb
- my_list.rb

* feat: add ruby code blocks

* chore: fix convention
2024-03-30 13:10:46 +08:00
curtishd
e799513173
Add kotlin code block for chapter_heap (#1196)
* Add kotlin code block for chapter_hashing

* Add kotlin code block for chapter_heap.
2024-03-29 20:32:49 +08:00
curtishd
8a05edb604
Add kotlin code block for chapter_hashing (#1195) 2024-03-29 20:01:37 +08:00
curtishd
5474ffc1ae
Add kotlin code block for the chapter of data structure (#1190)
* Add kotlin code block for array.md and backtracking_algorithm.md.

* add kotlin code block for chapter_computational_complexity.

* Update space_complexity.md

* preview linked_list.md

* Update linked_list.md

* fill in the missing code blocks.

* Add kotlin code block for chapter_data_structure.
2024-03-29 15:41:01 +08:00
curtishd
2f505e7f38
Add kotlin code block for chapter_computational_complexity (#1187)
* Add kotlin code block for array.md and backtracking_algorithm.md.

* add kotlin code block for chapter_computational_complexity.

* Update space_complexity.md

* preview linked_list.md

* Update linked_list.md

* fill in the missing code blocks.
2024-03-28 17:08:39 +08:00
curtishd
16350b65e4
Add kotlin code block for array.md and backtracking_algorithm.md. (#1185) 2024-03-27 21:47:34 +08:00
curtishd
82a7dc9dcc
Add kotlin code block for chapter array and linkedlist (#1179)
* add kotlin code block for chapter_array_and_linkedlist.

* modified comment.

* Update list.md

* Update linked_list.md

* fix some indentation.

* fix incorrect display
2024-03-27 01:12:30 +08:00
Yudong Jin
43bb45bceb
Several bug fixes and improvements (#1178)
* Update pythontutor block with the latest code

* Move docs-en to en/docs

* Move mkdocs.yml and README to en folder

* Fix en/mkdocs.yml

* Update the landing page

* Fix the glossary

* Reduce the font size of the code block tabs

* Add Kotlin blocks to en/docs

* Fix the code link in en/.../deque.md

* Fix the EN README link
2024-03-26 02:49:26 +08:00
Yudong Jin
202450420d
Add the kotlin blocks to the documents (#1170) 2024-03-25 03:15:36 +08:00
Nan Lei
55db99ab18
Add return value for recur function of Python in space complexity (#1169)
* Add return value for recur function of Python in space complexity

* Update space_complexity.md

* Update space_complexity.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-03-25 01:53:21 +08:00
None
739ee24751
Fix toc for the webpage of the chapter of computational complexity (#1107)
* fix the math formula in TOC

* Update space_complexity.md

* Update time_complexity.md

* Update space_complexity.md

* Update time_complexity.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-03-23 21:04:14 +08:00
Yudong Jin
3d3e16fcd7
Update terminology for traditional Chinese translation (#1165)
* Add the glossary in Traditional Chinese

* Update terminology.md

* Fix the term "演算法"

* Update the traditional Chinese terms

* Fix several terms.

* Add some terms for sc2tc

* Add 文件, 二叉搜索树
2024-03-23 02:19:47 +08:00
nuomi1
7359a7cb4b
Review Swift codes (#1150)
* feat(swift): review for chapter_computational_complexity

* feat(swift): review for chapter_data_structure

* feat(swift): review for chapter_array_and_linkedlist

* feat(swift): review for chapter_stack_and_queue

* feat(swift): review for chapter_hashing

* feat(swift): review for chapter_tree

* feat(swift): add codes for heap article

* feat(swift): review for chapter_heap

* feat(swift): review for chapter_graph

* feat(swift): review for chapter_searching

* feat(swift): review for chapter_sorting

* feat(swift): review for chapter_divide_and_conquer

* feat(swift): review for chapter_backtracking

* feat(swift): review for chapter_dynamic_programming

* feat(swift): review for chapter_greedy

* feat(swift): review for utils

* feat(swift): update ci tool

* feat(swift): trailing closure

* feat(swift): array init

* feat(swift): map index
2024-03-20 21:15:39 +08:00
Yudong Jin
7f43f92ae9
Bug fixes and improvements (#1152)
* Update avl_tree.md

* Remove the empty space

* Simplify the heading of the paperbook chapter

* Update hash_map_open_addressing.go to the latest version

* Improvements
2024-03-18 13:34:02 +08:00
sdshaoda
eb10d07728
Optimize the representation of the AVL tree (#1106)
* Optimize the representation of the AVL tree

* Update avl_tree.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-03-15 02:17:35 +08:00
Yudong Jin
01c67781fa
Bug fixes and improvements (#1133)
* Bug fixes

* Update the figure of the JD link

* Unify the code comments of insertion_sort
2024-03-14 20:01:16 +08:00
Yudong Jin
aca031c6c1
Add the section of introduction to the paper book (#1114)
* Use Roboto mono as the font of the footers

* Bug fixes

* Add the introduction to the paper book.

* Add the 'new' label to the toc

* Turn off the autoplay

* Polish the intro to paperbook
2024-03-11 02:41:47 +08:00
Yudong Jin
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
Yudong Jin
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
Yudong Jin
e813b5a0fa
Bug fixes and improvements (#1078)
* Fix the logo in the en version

* Optimize header color and fix body background color

* Update theme switch's name

* Fix backfrop-filter on Safari

* Update some animation's file name for adding egde when cropping

* Re-count the comments number

* A bug fix in n_queens_problem.md
2024-02-14 18:37:18 +08:00
Yudong Jin
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
CuB3y0nd
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
Yudong Jin
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
Loong Loong
d807077e54
Updated terminology.md (#1043)
* only with the update of terminology.md

* Reformat table

* 栈底

* Update terminology.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-01-28 22:57:35 +08:00
Yudong Jin
0bd4c34b9a
translation: Add the initial translation of the hashing chapter (#1066)
* Add the initial translation of the hashing chapter

* Fix
2024-01-28 22:22:36 +08:00
Yudong Jin
c69ae9534d
Some bug fixes and improvements (#1063)
* Prevent the line breaks of buttons on Safari

* Fix a math symbol

* Small improvements

* Bug fixes and improvements.
2024-01-25 12:50:53 +08:00
Ma Meiyu
82da279c60
Update space_complexity.md (#1057)
* Update space_complexity.md

10进制正整数n的位数计算的对数部分应该取整

* Update space_complexity.md

* Update space_complexity.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-01-23 22:11:34 +08:00
Yudong Jin
504c6b0568
The 4th revision (#1060) 2024-01-23 22:08:53 +08:00
Yudong Jin
dbb2c07cb1
Redesign the landing page (#1059) 2024-01-23 22:06:15 +08:00
Yudong Jin
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
Yudong Jin
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
Yudong Jin
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
Yudong Jin
0b7e99dafa
feat: Adjust the size of pythontutor blocks (#1036)
* Update the style of the python tutor blocks

* Use pythontutor links instead of iframe in the documents
2024-01-09 16:09:35 +08:00
Yudong Jin
d3cb600910
translation: Add the initial translation of the chapter of stack and queue (#1033)
* Update the format of Q&As in docs-en

* Fix the code comments of JavaScript and TypeScript

* Add the initial translation of the chapter of stack and queue
2024-01-08 19:06:37 +08:00
Yudong Jin
c4e4a607e8
Update the format of the Q&As (#1031) 2024-01-08 18:03:57 +08:00
Yudong Jin
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
Yudong Jin
ddd375af20
feat: Add visualizing code blocks based on the pythontutor (#1029)
* Update copyright

* Update the Python code

* Fix the code comments in ArrayBinaryTree

* Fix the code comments in ArrayBinaryTree

* Roll back time_comlexity.py

* Add the visualizing code(pythontutor) blocks to the chapter complexity, data structure, array and linked list, stack and queue, hash table, and backtracking

* Fix the code comments
2024-01-07 04:04:01 +08:00
易春风
ad663615e6
Fix the issues of discusscomment 7949412 and 7985550 (#1027) 2024-01-06 14:47:32 +08:00
Yudong Jin
5866d275ff
Fix two figures (#1024)
* Fix two figures

* Fix a figure
2024-01-04 02:48:48 +08:00
krahets
ef40418129 Update README and the contributors information 2024-01-02 15:14:42 +08:00
Yudong Jin
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
codingonion
7ffef7e1d6
update the author info sjinzh -> codingonion (#1017)
* update author information

* Update index.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2024-01-02 01:25:37 +08:00
hpstory
9c0bb55150
fix(csharp): unified array statement (#1011) 2023-12-28 18:06:43 +08:00
Yudong Jin
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
Yudong Jin
42523b8879
translation: Add the translation of the data structure chapter (#1007)
* Add the translation of the data structure chapter. Synchronize the headings in mkdocs-en.yml

* Fix a typo
2023-12-26 18:28:26 +08:00
Yudong Jin
6d961d38a0
Several improvements (#1002)
* Update buttons.

* Update button svg

* Update button

* Update README.md

* Update index.md

* Update translation of about_the _book

* Update English headings.
2023-12-24 10:37:25 +08:00
Yudong Jin
46813a5247
translation: English Translation of the chapter of preface(part), introduction and complexity analysis(part) (#994)
* Translate 1.0.0b6 release with the machine learning translator.

* Update Dockerfile
A few translation improvements.

* Fix a badge logo.

* Fix EN translation of chapter_appendix/terminology.md (#913)

* Update README.md

* Update README.md

* translation: Refined the automated translation of README (#932)

* refined the automated translation of README

* Update index.md

* Update mkdocs-en.yml

---------

Co-authored-by: Yudong Jin <krahets@163.com>

* translate: Embellish chapter_computational_complexity/index.md (#940)

* translation: Update chapter_computational_complexity/performance_evaluation.md (#943)

* Update performance_evaluation.md

* Update performance_evaluation.md

* Update performance_evaluation.md

change 'methods' to 'approaches' on line 15

* Update performance_evaluation.md

on line 21, change the sentence to 'the results could be the opposite on another computer with different specifications.'

* Update performance_evaluation.md

delete two short sentence on line 5 and 6

* Update performance_evaluation.md

change `unavoidable` to `inevitable` on line 48

* Update performance_evaluation.md

small changes on line 23

* translation: Update terminology and improve readability in preface summary (#954)

* Update terminology and improve readability in preface summary

This commit made a few adjustments in the 'summary.md' file for clearer and more accessible language. "Brushing tool library" was replaced with "Coding Toolkit" to better reflect common terminology. Also, advice for beginners in algorithm learning journey was reformulated to imply a more positive approach avoiding detours and common pitfalls. The section related to the discussion forum was rewritten to sound more inviting to readers.

* Format

* Optimize the translation of
chapter_introduction/algorithms_are_everywhere.

* Add .gitignore to Java subfolder.

* Update the button assets.

* Fix the callout

* translation: chapter_computational_complexity/summary to en (#953)

* translate chapter_computational_complexity/summary

* minor format

* Update summary.md with comment

* Update summary.md

* Update summary.md

* translation: chapter_introduction/what_is_dsa.md (#962)

* Optimize translation of what_is_dsa.md

* Update

* translation: chapter_introduction/summary.md (#963)

* Translate chapter_introduction/summary.md

* Update

* translation: Update README.md (#964)

* Update en translation of README.md

* Update README.md

* translation: update space_complexity.md (#970)

* update space_complexity.md

* the rest of translation piece

* Update space_complexity.md

---------

Co-authored-by: ThomasQiu <thomas.qiu@mnfgroup.limited>
Co-authored-by: Yudong Jin <krahets@163.com>

* translation: Update chapter_introduction/index.md (#971)

* Update index.md

sorry, first time doing this... now this is the final change.
changes:
title of the chapter is shorter.
refined the abstract.

* Update index.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>

* translation: Update chapter_data_structure/classification_of_data_structure.md (#980)

* update classification_of_data_structure.md

* Update classification_of_data_structure.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>

* translation: Update chapter_introduction/algorithms_are_everywhere.md (#972)

* Update algorithms_are_everywhere.md

changed or refined parts of the words and sentences including tips.
Some of them I didnt change that much because im worried that it might not meet the requirement of accuracy. 
some other ones i changed a lot to make it sound better, but also kind of following the same wording as the CN version

* Update algorithms_are_everywhere.md

re-edited the dictionary part from Piyin to just normal Eng dictionary. 
again thank you very much hpstory for you suggestion.

* Update algorithms_are_everywhere.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>

* Prepare merging into main branch.

* Update buttons

* Update Dockerfile

* Update index.md

* Update index.md

* Update README

* Fix index.md

* Fix mkdocs-en.yml

---------

Co-authored-by: Yuelin Xin <sc20yx2@leeds.ac.uk>
Co-authored-by: Phoenix Xie <phoenixx0415@gmail.com>
Co-authored-by: Sizhuo Long <longsizhuo@gmail.com>
Co-authored-by: Spark <qizhang94@outlook.com>
Co-authored-by: Thomas <thomasqiu7@gmail.com>
Co-authored-by: ThomasQiu <thomas.qiu@mnfgroup.limited>
Co-authored-by: K3v123 <123932560+K3v123@users.noreply.github.com>
Co-authored-by: Jin <36914748+yanedie@users.noreply.github.com>
2023-12-22 00:16:18 +08:00
krahets
9a5ab776d6 A bug fix. 2023-12-19 21:55:57 +08:00
Yudong Jin
406eed82a3
Several bug fixes and improvements (#991)
* Several bug fixes.

* Update index.md
2023-12-16 03:15:20 +08:00
krahets
54b1ac8638 A bug fix. 2023-12-14 02:54:19 +08:00
Yudong Jin
ed4de4644f
Revised the book. (#987) 2023-12-14 02:42:53 +08:00
Yudong Jin
2e130d4bbc
Several bug fixes (#984)
* Fix quick_sort.md

* Disable instant loading for mathjax rendering

* Fix the summary.md of chapter_sorting

* Two bug fixes
2023-12-11 00:42:00 +08:00
Yudong Jin
b10091c5f9
Several enhancements and bug fixes (#981)
* Update the installation section.

* Fix storage_pyramid.png

* Update the landing page.

* Update index.md

* Add download buttons to the landing page.

* Update the button style.

* Update .gitignore
2023-12-06 23:26:53 +08:00
Yudong Jin
723af99fb9
Update the assets and GIF animations. (#979) 2023-12-04 03:19:48 +08:00
Yudong Jin
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
hpstory
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
krahets
f5407f2aaa Update ram_and_cache.md 2023-11-26 15:28:20 +08:00
krahets
880f233ca9 Update chapter_array_and_linkedlist/summary.md 2023-11-26 02:05:35 +08:00
krahets
020eb622b7 Add the section of ram_and_cache 2023-11-26 01:51:39 +08:00
krahets
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
Florance
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
Yudong Jin
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
jiaxianhua
1f71f6f701
Update linked_list.md (#935)
There is no need to declare next
2023-11-11 19:53:55 +08:00
Yudong Jin
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
Yudong Jin
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
Yudong Jin
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
krahets
88099b96fa Update index.md 2023-11-04 04:17:14 +08:00
krahets
5f3ad1ed3d A few bug fixes. 2023-11-03 22:48:43 +08:00
JackYang-hellobobo
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
krahets
7f26e28280 Update preface. 2023-11-03 17:46:38 +08:00
Yudong Jin
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
krahets
71b9ded0b9 Remove the unused files. 2023-11-02 01:22:54 +08:00
Yudong Jin
0217624818
Update README (#909) 2023-11-02 01:08:36 +08:00
Yuelin Xin
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
krahets
33acfc0af7 Fix a typo 2023-10-30 05:30:49 +08:00
Yudong Jin
6133aa63ba
feat: Add the section of terminologies. (#902)
* Add the section of terminologies.

* fix format
2023-10-30 05:14:21 +08:00
krahets
5385057993 Replace "结点" with "节点". 2023-10-27 23:24:13 +08:00
Yudong Jin
ba74d4bba7
Reduce the image files size for faster loading. (#897) 2023-10-27 20:13:08 +08:00
krahets
5b1a219b8b Fine-tune code and texts. 2023-10-27 01:01:21 +08:00
syd168
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
Yudong Jin
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
52coder
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
Spark
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
krahets
f80b25bd17 Replace Java with Python in pivot division figures 2023-10-24 22:33:38 +08:00
krahets
17252b53a9 Format code and docs. 2023-10-24 16:19:29 +08:00
Logan Qiu
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
krahets
b7c110e5ec Add build check with py_compile 2023-10-23 06:02:34 +08:00
Sizhuo Long
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
noobcodemaker
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
krahets
fc70b1eb2c Fix the docs of binary_search_tree and
graph_operations.
2023-10-23 03:09:41 +08:00
krahets
433997c38d Fix several figures. 2023-10-19 16:22:10 +08:00
krahets
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
lucaswangdev
070d23ee6e
fix: hash_collision.md squared detection description (#867) 2023-10-17 10:49:06 -05:00
krahets
5392afd44b fix several bugs 2023-10-17 23:45:31 +08:00
Yudong Jin
faa44fecd2
Squash the language code blocks and fix list.md (#865) 2023-10-16 12:06:00 -05:00
krahets
346c8451de Fix code naming style. 2023-10-15 21:18:09 +08:00
krahets
ada37fd1f8 Fix Python code. 2023-10-14 22:15:02 +08:00