krahets
2626de8d0b
Polish the chapter
...
introduction, computational complexity.
2023-08-20 14:51:39 +08:00
krahets
70227c82cb
Remove center-table from docs.
...
Add header to the tables.
2023-08-19 19:22:08 +08:00
Sizhuo Long
4eb621dda7
"Add Q&A sections to array/linked_list and tree chapters" ( #682 )
...
* "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
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-08-18 02:49:53 +08:00
krahets
c310edb672
Polish the chapter of array and linkedlist
2023-08-17 05:13:19 +08:00
liuyuxin
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
krahets
0c18198c01
Fix the figures.
...
Polish the chapter of data structure.
2023-08-13 19:32:11 +08:00
埃拉
9ed16db68e
Complement to Rust code in the Chapter array and linked list / Time Complexity. ( #657 )
...
* Complement to Rust code in the Chapter array and linked list
* Complement to Rust code in the Time Complexity
* Remove this Rust struct from 380 to 383.
* Address the comments from @night-cruise
* Add more comments in list and time complexity
* Add more comments in linked list
2023-08-07 18:22:04 +08:00
krahets
4bc6b8af7b
finetune
2023-08-06 23:19:37 +08:00
krahets
3d81b2d954
Update the opening phrase
2023-08-04 05:13:20 +08:00
Yudong Jin
43ed0e41d6
Add opening phrase for every chapters. ( #670 )
...
Update several chapter covers.
Fitune documens.
2023-08-03 04:40:29 +08:00
krahets
9e8aee04d5
Update number_encoding.md
...
Update the width of cover images.
2023-07-29 04:50:49 +08:00
krahets
b9b324b298
Use abbreviation for JavaScript and TypeScript
2023-07-26 15:35:38 +08:00
Yudong Jin
027bdd6510
Release Rust code to documents. ( #656 )
2023-07-26 11:00:53 +08:00
krahets
63a0e73df0
Unify punctuation.
2023-07-26 08:59:36 +08:00
hpstory
978d3c2ed7
fix(csharp): reformat csharp codes and docs ( #652 )
...
* fix(csharp): reformat the C# codes and docs
* Update time_complexity.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-07-24 19:50:00 +08:00
krahets
17f995b432
Finetune the chapter of hashing,
...
divide and conquer, backtracking, tree
2023-07-24 03:04:55 +08:00
krahets
4e13755023
Add implementation of array binary tree.
...
Rewrite the tree serialization and deserialization methods.
Add applications of array and linked list.
2023-07-19 16:09:27 +08:00
krahets
1113d03a8f
Add new Q&As.
2023-07-01 22:37:26 +08:00
krahets
b6b03ef84b
Fix the figures of binary tree.
...
Replace null with None.
2023-06-17 00:45:41 +08:00
liuyuxin
281c0c618a
feat: modify some Dart codes and add Dart code blocks to the docs ( #543 )
2023-06-02 14:56:29 +08:00
Yudong Jin
025051c81b
Add Dart codes to the documents. ( #529 )
2023-06-02 02:40:26 +08:00
Yudong Jin
041a989d33
Add the chapter cover images ( #528 )
2023-06-02 01:36:51 +08:00
krahets
033dca77fe
Update the summary of array and linkedlist
2023-06-02 01:29:48 +08:00
krahets
e35e2e31eb
Add the figure of assembling blocks.
...
Update some texts.
2023-05-31 01:04:40 +08:00
krahets
6f76203dd9
Fix some mistakes.
2023-05-27 17:13:51 +08:00
Sizhuo Long
1028c0c083
add Q&A about array_and_linklist and fix miss one "$" in c_c chapter ( #515 )
...
* fix "$" in c_c summary and add QA of array_linklist in summary
* Update summary.md
* Update summary.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-05-26 21:27:34 +08:00
krahets
e196962d0a
Simplify the declarations of the Python code.
2023-05-22 22:03:57 +08:00
Yudong Jin
dbc4906582
Publish the C codes to the docs. ( #469 )
2023-04-18 20:21:31 +08:00
krahets
236b9cadb1
Polish the chapter of stack_and_queue, tree
2023-04-10 23:59:22 +08:00
krahets
9a74d9a9d1
Polish the chapter of searching and sorting.
2023-04-10 03:11:49 +08:00
krahets
0bec52d7cc
Polish the chapter of heap, introduction, preface.
...
Replace "其它" with "其他"
2023-04-09 19:12:37 +08:00
krahets
10e2180013
Unify the comment style of python codes
2023-04-09 05:30:02 +08:00
Yudong Jin
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
krahets
de6945f55a
Polish the contents
...
1. Array and linked list.
2. Computational complexity.
3. Fix a mistake in counting_sort.md
2023-04-07 22:31:50 +08:00
krahets
b7daddf88f
Polish the contents.
2023-04-06 22:03:46 +08:00
Guanngxu
351da5c108
update C linked_list init ( #421 )
...
* docs: update C linked_list init
* Update linked_list.md
* Update linked_list.c
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-03-18 18:31:47 +08:00
Yudong Jin
9151eaf533
Add typing annotations to Python codes. ( #411 )
2023-03-12 18:49:52 +08:00
krahets
b7fa3bbe86
Fix linked_list.md and hasp_map.md
2023-03-11 00:00:15 +08:00
krahets
ca261a8f46
Update the chapter preface.
2023-03-03 21:54:04 +08:00
krahets
dabe5d5c24
build
2023-02-28 20:03:53 +08:00
krahets
ff6022796c
Fix 结构体 and 类.
2023-02-27 21:01:25 +08:00
花无缺
731487864f
linked_list.md中增加链表结构体定义C语言代码 ( #384 )
2023-02-27 20:59:59 +08:00
krahets
c2d641537e
Add summary for the chapters of introduction, hashing, heap, graph, sorting
2023-02-26 22:47:21 +08:00
krahets
1a49631dba
Unify the headings in mkdocs.yml and the articles.
2023-02-26 20:16:55 +08:00
krahets
7aa44d212c
Remove all the table captions.
2023-02-26 18:23:11 +08:00
krahets
9e99ac06ce
Update the captions of all the figures.
2023-02-26 18:18:34 +08:00
krahets
b25aadae6f
Remove the file headers from the docs.
2023-02-26 02:19:40 +08:00
krahets
2b33f7bc5f
Add step symbols in animations and unify font size for all the figures
2023-02-26 01:47:57 +08:00
krahets
e500b19f5a
Update the labels of the figures.
2023-02-25 23:35:39 +08:00
krahets
d87c9b5084
Add floating-point format in data_and_memory.md
2023-02-22 19:02:26 +08:00
krahets
88b00151b0
Remove the heading numbers
...
in all the source docs.
2023-02-16 03:39:01 +08:00
Yudong Jin
925e05fd03
feat: add the section of Graph Traversal ( #367 )
...
* Graph dev
* Add the section of Graph Traversal.
* Add missing Vertex.java
* Add mkdocs.yml
* Update numbering
* Fix indentation and update array.md
2023-02-15 03:34:06 +08:00
krahets
d1e1d76162
Add sorce code blocks of C to the docs.
2023-02-11 18:22:27 +08:00
Guanngxu
0aea04f142
feat: add array C docs ( #352 )
...
* feat: add arry C docs
* fix: change remove to removeItem
* Update array.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-11 00:43:04 +08:00
krahets
ec25970e8e
Update .gitignore
...
Add build script for Zig.
2023-02-09 22:57:25 +08:00
krahets
3465b300e9
Add the introduction to the reviewers
...
to the index.md
2023-02-09 19:45:35 +08:00
krahets
e8c78f89f0
Add build script for Go and update Go codes.
2023-02-09 04:45:06 +08:00
krahets
6dc21691ed
Add build scripts for C# and
...
unify the coding style.
2023-02-08 22:18:02 +08:00
krahets
38751cc5f5
Add build script for Swift.
2023-02-08 20:30:05 +08:00
krahets
05f0054005
Add build script for JS and TS codes.
2023-02-08 19:45:06 +08:00
krahets
22b7d65d20
Replace ``js with
``javascript
2023-02-08 04:27:55 +08:00
krahets
0407cc720c
Fix Repo
2023-02-08 04:17:26 +08:00
krahets
ecbf2d1560
1. Add build script for Java.
...
2. Add height limitation for code blocks in extra.css.
3. Fix "节点" to "结点".
2023-02-07 04:43:52 +08:00
krahets
ea901af217
1. Add the building util of Python
...
for the markdown docs.
2. Update the deploy.sh
2023-02-06 23:23:21 +08:00
Yudong Jin
f14e3e4c57
Update linear_search and hashing_search.
2023-02-04 23:49:37 +08:00
Yudong Jin
a95fe26303
Fix Python code styles.
...
Update hash_map.
2023-02-03 20:03:30 +08:00
sjinzh
15efaca85d
copy zig codes of chapter_array_and_linkedlist and chapter_computatio… ( #319 )
...
* copy zig codes of chapter_array_and_linkedlist and chapter_computational_complexity to markdown files
* Update time_complexity.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-03 19:15:34 +08:00
Yudong Jin
7ce7386bab
Add Zig code blocks.
2023-02-01 22:03:04 +08:00
Yudong Jin
eb0afc98ec
Number the H1 and H2 headings.
2023-01-31 03:37:50 +08:00
Yudong Jin
ddd5562b60
Fix the index out of bound check in my_list.
2023-01-30 17:50:07 +08:00
Yudong Jin
70c1dba1cd
Update a comment in randomAccess()
2023-01-17 02:10:52 +08:00
weibk
dab16ee53a
update python randomAccess
...
random.randomint(start, stop) 返回 数字的范围是 [start, stop] 是一个闭区间, 如果用len(nums) 有可能会索引超出范围
2023-01-16 18:12:38 +08:00
Yudong Jin
bb657f9517
Add destructors to the C++ codes.
2023-01-14 19:52:11 +08:00
Yudong Jin
251471430c
Merge pull request #226 from nuomi1/feature/list-Swift
...
feat: add Swift codes for list article
2023-01-10 00:52:53 +08:00
Yudong Jin
d6d6a16c7e
Update the access() function of linked_list
2023-01-10 00:46:04 +08:00
Yudong Jin
aaa2ff29f9
Fix all the ** (bolded symbols).
2023-01-09 22:39:30 +08:00
nuomi1
5e23c75870
feat: add Swift codes for list article
2023-01-09 08:05:40 +08:00
Yudong Jin
5c943471c7
Merge pull request #220 from Reanon/bugfix/fix-go-code-style
...
style(go): fix go code style
2023-01-09 02:16:12 +08:00
nuomi1
3b52df2a8f
style: update comment format
2023-01-08 20:53:24 +08:00
reanon
0243957015
doc(code): modify go code in docs
2023-01-08 20:33:30 +08:00
nuomi1
7556558704
feat: add Swift codes for linked_list article
2023-01-08 20:22:59 +08:00
Yudong Jin
73e3452838
Add Swift language blocks to the docs.
2023-01-08 19:41:05 +08:00
Yudong Jin
c411969bd1
Merge branch 'master' of github.com:krahets/hello-algo
2023-01-08 18:16:10 +08:00
nuomi1
f49c674029
feat: add Swift codes for array article
2023-01-08 17:38:08 +08:00
Yudong Jin
694ea4f665
Modify 。**
to **。
for better visualization.
2023-01-07 20:34:32 +08:00
Yudong Jin
30b4ab6ba7
Update array (Go).
2023-01-06 03:28:27 +08:00
Yudong Jin
89a5c6b435
Add description of the comment format.
2023-01-03 15:47:06 +08:00
Yudong Jin
410c5d6b62
Free memory after removing
...
a node from a LinkedList or TreeNode.
2023-01-02 19:53:55 +08:00
Yudong Jin
5cb62fd458
Update the array (Go code).
2023-01-02 19:03:36 +08:00
Yudong Jin
82b8a5da39
Merge branch 'master' into master
2023-01-02 18:53:33 +08:00
Yudong Jin
679d5314d9
Update linked_list.md
2023-01-02 18:41:21 +08:00
Yudong Jin
e5497496f9
Update array.md
2022-12-30 16:45:40 +08:00
Cathay
1faad9e187
Merge branch 'master' of github.com:Cathay-Chen/hello-algo
2022-12-29 17:43:34 +08:00
Cathay
1062fe64a3
feat(linked_list): add the Go code to linked_list docs (Chapter of Array and LinkedList)
2022-12-29 17:43:16 +08:00
Cathay
b3e3aa1e72
Merge branch 'krahets:master' into master
2022-12-29 13:27:03 +08:00
Cathay
c0e8b75bfd
feat(array): add the Go code to array docs (Chapter of Array and LinkedList)
2022-12-29 13:26:09 +08:00
龚国玮
f0c3bf5766
docs(array): reduce understanding cost
...
- 去除了并行测试;
- 基于 Java 代码样例,统一了命名风格;
- 基于 Go link 模块代码样例,统一了测试用例风格;
- 我们将 Go 中的 Slice 切片看作 Array 数组。因为这样可以降低理解成本,利于我们将关注点放在数据结构与算法上。
2022-12-28 10:46:12 +08:00
龚国玮
b1be0aab15
docs(array): sample code for golang
...
本次提交包含如下示例代码。
- 遍历数组;
- 初始化数组;
- 扩展数组长度;
- 在数组中查找指定元素;
- 随机返回一个数组元素;
- 删除索引 index 处元素;
- 在数组的索引 index 处插入元素 num。
所有数组约定长度为 5。原因如下:
在 goalng 中,必须声明数组的长度,例如:nums := [5]int{1,2,3,4,5}。如果不声明长度,则被称为切片。
使用的注释没有按照 golang 的编程惯例,而是倾向于使用文档上下文的注释约定。
所以所有函数注释均使用了 `/* ... */`,而不是双斜杠 `//`。
2022-12-27 11:25:30 +08:00
Yudong Jin
8733557f00
Update C# code.
2022-12-24 17:05:58 +08:00
Yudong Jin
b1645c7d7e
Fine tune
2022-12-24 16:15:41 +08:00