Commit graph

1431 commits

Author SHA1 Message Date
Yudong Jin
66d0fdae30
Update README.md 2023-02-13 16:15:43 +08:00
谢斌
c74480c984
Update heap.md (#361)
修正“元素入堆的时间复杂度”为lgn
2023-02-11 23:01:36 +08:00
krahets
89281569da Update about_the_book.md 2023-02-11 23:00:23 +08:00
krahets
d1e1d76162 Add sorce code blocks of C to the docs. 2023-02-11 18:22:27 +08:00
Leo.Cai
d3ea84ba97
Add graph c++ code (#357)
* add c++ graph code

* fix the header

* delete the header wrongly auto added by editor

* fix for format

* fix code style

* fix code style

* fix graph_adjacency_list.cpp,alter 构造函数 to 构造方法

* update the markdown

* add deconstructor

* remove the deconstructor

* Update graph_adjacency_matrix.cpp

* Update graph_adjacency_list.cpp

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-11 18:07:01 +08:00
LoneRanger
8d8b713865
fix poll() in my_heap.cpp (#360) 2023-02-11 18:04:29 +08:00
WangSL
ea5677b3c6
Add array_queue.rs in chapter_stack_and_queue (#359)
* array_stack.rs

* array_queue.rs

* Update Cargo.toml

* Create array_queue.rs

* Delete array_queue.rs

* Add array_queue.rs in chapter_stack_and queue

* Update array_queue.rs

---------

Co-authored-by: wsl <wslzzy@qq.com>
2023-02-11 18:03:49 +08:00
krahets
ab0b432fcc Update the year. 2023-02-11 02:48:58 +08:00
zhuoqinyue
321ea1d6ad
Add graph_adjacency_matrix for javascript and typescript (#355)
* add graph_adjacency_matrix for javascript and typescript

* Fix the initial edges

* fix the method

---------

Co-authored-by: steak-zhuo <zhuoqinyue@gmail.com>
2023-02-11 00:44:12 +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
300016393b Add code source blocks to the chapter Graph.
Fix "函数" and "方法"
2023-02-10 01:04:26 +08:00
Justin Tse
d37c71b928
Add JavaScript and TypeScript code for section graph adjacency list (#358) 2023-02-10 00:42:45 +08:00
krahets
b973c86ee4 Fix the initial edges in graph_adjacency_matrix 2023-02-09 23:12:28 +08:00
sjinzh
08b7474894
Update the coding style for Rust and Zig (#356)
Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-09 23:07:43 +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
61a2c32f64 Update extract_code_go.py 2023-02-09 04:54:52 +08:00
krahets
e8c78f89f0 Add build script for Go and update Go codes. 2023-02-09 04:45:06 +08:00
krahets
12c085a088 Fix C++, JS, and TS blocks for the code building 2023-02-09 03:20:27 +08:00
siqyka
6cce1ab059
Update time_complexity.md (#353)
* Update time_complexity.md

这样修改是否更加通畅,或者修改位“以下示例即位使用上述技巧前、后的统计结果”,因为是根据上述技巧给出的示例,二不是根据示例得出了技巧

* Update time_complexity.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-09 01:00:56 +08:00
Malcolm Yang
87f0546f71
病句修改,缺少谓语 (#350)
* 病句修改,缺少谓语

* Update performance_evaluation.md

* Update performance_evaluation.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-09 00:56:37 +08:00
Justin Tse
1eb0d91978
Update the docs for the section of AVL tree and style (#351)
Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-09 00:36:06 +08:00
sjinzh
e65c7bd478
Refine some details and coding style for Rust codes (#344)
* Refine some details and coding style for Rust codes

* Update coding style for Rust codes

* Update time_complexity.rs

* Update array.rs

* Update leetcode_two_sum.rs

* Update hash_map.rs

* Update file headers

* Update coding style for Rust codes and Zig codes

* Update coding style for Rust codes and Zig codes

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-09 00:25:01 +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
Jefferson
7f4efa6d5e
add dart chapter_array_and_linkedlist (#338)
* add dart chapter_array_and_linkedlist

* update my_list.dart

* update chapter_array_and_linkedlist

* Update my_list.dart

* Update array.dart

---------

Co-authored-by: huangjianqing <huangjianqing@52tt.com>
Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-07 21:24:27 +08:00
Justin Tse
1cc9cecebe
Add TypeScript code and docs to Chapter of Heap (#349)
* Add TypeScript code and docs to Chapter of Heap

* Update my_heap.ts

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-07 20:50:54 +08:00
Leo.Cai
7666632d0c
Add heap part js code (#339)
* Add heap part js code

* Update heap.md

* Update heap.md

* Format the code style and fix a bug.

* and fix the style in heap.md

* fix the style

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-07 20:48:54 +08:00
krahets
8f512c2840 Update code extractor of Java. 2023-02-07 19:05:19 +08:00
krahets
95bffcfb36 deploy 2023-02-07 17:17:25 +08:00
krahets
1ca5c731f7 build 2023-02-07 17:17:14 +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
Justin Tse
b14568151c
Add TypeScript code and docs to AVL tree and the coding style for Typescript and JavaScript (#342)
* Add TypeScript code and docs to AVL tree and update JavaScript style

* Update the coding style for Typescript and JavaScript
2023-02-07 01:21:58 +08:00
LoneRanger
7f4243ab77
fix Pointer recycle (#346) 2023-02-07 01:17:10 +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
krahets
64f251f933 build 2023-02-06 23:10:10 +08:00
krahets
44c1d6eca0 deploy 2023-02-06 22:58:57 +08:00
方圆
e7fdbe7ffb
堆: 颗 -> 棵 (#343) 2023-02-06 20:22:23 +08:00
方圆
33e15da721
堆: 颗 -> 棵 (#341) 2023-02-06 19:58: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
krahets
94cba488ef Fix leetcode_two_sum.py 2023-02-06 04:34:01 +08:00
krahets
1b0a3a6e69 Update Python codes. 2023-02-06 04:11:22 +08:00
krahets
4655534bd6 Update default branch from 'master' to 'main'. 2023-02-06 03:43:58 +08:00
zhuoqinyue
c4b510038c
Add linkedlist_deque for typescript and javascript (#326)
* add linkedlist_deque for typescript and javascript

* update typescript and javascript examples for the deque.md

* keep the same name

* update the doc

* Update deque.md

---------

Co-authored-by: steak-zhuo <zhuoqinyue@gmail.com>
Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-06 01:31:09 +08:00
Justin Tse
bc88e52955
Add JavaScript and TypeScript code and docs for Section Space Complexity (#331)
* Fix bug before commit 5eae708

* Update queue.md

* Update the coding style for JavaScript

* Add JavaScript and TypeScript code for Section Space Complexity

* Add JavaScript and TypeScript code to docs for Section Space Complexity

* Update hashing_search.js

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-06 01:24:22 +08:00
sjinzh
063501068b
Update the coding style for Zig (#336)
* Update the coding style for Zig

* Update array.rs
2023-02-06 01:14:03 +08:00
WangSL
cb73007495
array_stack.rs (#337)
Co-authored-by: wsl <wslzzy@qq.com>
2023-02-06 01:12:53 +08:00