Commit Graph

56 Commits

Author SHA1 Message Date
Yudong Jin 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
krahets b3640c53d1 Remove unused functions. 2023-04-14 05:52:59 +08:00
krahets f7ae9c8a02 Fix the return type of binary search tree and avl tree 2023-04-14 05:47:20 +08:00
krahets 236b9cadb1 Polish the chapter of stack_and_queue, tree 2023-04-10 23:59:22 +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 23cda5e225 Add captions for all the animations. 2023-02-26 19:22:46 +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 e500b19f5a Update the labels of the figures. 2023-02-25 23:35:39 +08:00
krahets 3daaf30f23 Update the symbols of the animations. 2023-02-22 00:57:43 +08:00
krahets 88b00151b0 Remove the heading numbers
in all the source docs.
2023-02-16 03:39:01 +08:00
krahets d1e1d76162 Add sorce code blocks of C to the docs. 2023-02-11 18:22:27 +08:00
krahets ec25970e8e Update .gitignore
Add build script for Zig.
2023-02-09 22:57:25 +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
方圆 4ee3af176b
二叉搜索树: 排序小节 移动到 删除结点代码 的下面 (#340)
* 插入排序: 修改插入排序思想描述

* Update insertion_sort.md

* 二叉搜索树: 排序小节 移动到 删除结点代码 的下面

* fix: 双点 -> 双向

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-06 19:57:19 +08:00
Yudong Jin 55b65dc806 Update binary_search_tree.go 2023-02-04 15:03:51 +08:00
Yudong Jin 2da45041b1 Update binary_search_tree 2023-02-02 13:54:31 +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 f103fdecc9 1. Update extra.css for overwrite
the sections title color.
2. Add figures to hash collision.
3. Add inorder traversal in binary search tree.
2023-01-30 03:55:13 +08:00
nuomi1 d76e6582fa
feat: add Swift codes for binary_search_tree article (#296) 2023-01-27 01:52:51 +08:00
Yudong Jin 2336fe1d50 Update the comments in
binary_search_tree and avl_tree.
2023-01-17 01:53:12 +08:00
Yudong Jin 3e19205c84 Update a comment in binary_search_tree. 2023-01-15 15:43:06 +08:00
Yudong Jin bb657f9517 Add destructors to the C++ codes. 2023-01-14 19:52:11 +08:00
Yudong Jin aaa2ff29f9 Fix all the ** (bolded symbols). 2023-01-09 22:39:30 +08:00
Yudong Jin 97ee638d31 Update the Optional alias of Python codes. 2023-01-09 02:49:34 +08:00
reanon 0243957015 doc(code): modify go code in docs 2023-01-08 20:33:30 +08:00
Yudong Jin 73e3452838 Add Swift language blocks to the docs. 2023-01-08 19:41:05 +08:00
Yudong Jin 694ea4f665 Modify `。** ` to `**。` for better visualization. 2023-01-07 20:34:32 +08:00
Yudong Jin 410c5d6b62 Free memory after removing
a node from a LinkedList or TreeNode.
2023-01-02 19:53:55 +08:00
龚国玮 debcc984e1 docs(binary_search_tree): variable name error
Combining Context, Compare 'cur.val' and 'num', not 'cur.val' and 'val`.
2022-12-28 17:07:59 +08:00
Yudong Jin d03980e185 Merge branch 'master' of github.com:krahets/hello-algo 2022-12-27 19:39:37 +08:00
Yudong Jin c4d32621c3
Merge branch 'master' into master 2022-12-27 19:16:39 +08:00
a16su 8b401c2acb
fix format error 2022-12-27 18:34:12 +08:00
Yudong Jin 8e9bfabae2 Fix binary search tree. 2022-12-27 17:10:23 +08:00
Yudong Jin b1645c7d7e Fine tune 2022-12-24 16:15:41 +08:00
zhuzhiqing a427cb1b4d 完善所以c#相关的文档和代码 2022-12-23 15:42:02 +08:00
Yudong Jin f3ef226874 Remove the spaces between “ ” and 中文 aside. 2022-12-21 01:37:58 +08:00
a16su 9eac1275f6
add binary_tree and avl_tree python code 2022-12-20 15:52:00 +08:00
justin 490f8d6685 Add the TypeScript code to binary search tree docs (Chapter of Tree) 2022-12-15 00:01:10 +08:00
Yudong Jin bc2561fb51 Add the chapter of hash map. 2022-12-05 02:37:16 +08:00
IsChristina db416cf4bb add JavaScript codes for Tree 2022-12-04 12:26:09 +08:00
Yudong Jin ebf9024136 Add Go codes to docs, including
the chapter of stack and queue, the chapter of tree.
2022-12-03 20:25:24 +08:00