Commit graph

1401 commits

Author SHA1 Message Date
krahets
0fa78e4b3b Update graph_adjacency_list.java, .cs 2023-02-15 21:45:35 +08:00
xBLACKICEx
1209261bdd
🦄 refactor(rust/deque): change LinkedList to VecDeque (#364)
* 🦄 refactor(deque):  change LinkedList to VecDeque

* 📃 docs(deque): add author

* 🦄 refactor(rust/queue):  change LinkedList to VecDeque

* 📃 docs(rust/queue): add author

* 📃 docs(deque): corrent author format
2023-02-15 21:32:03 +08:00
ZJKung
f0b092fec4
Add C# code for the chapter Heap and Graph (#324)
* add : C# heap ,graph, fix type "sift"=>"shift"

* chore: rename "shift" to "sift"

* add: heap,graph C# sample code ,fix format

* fix md format

* fix md intend foramt

* fix basic_operation_of_graph.md format

* fix md format

* fix md format

* fix indentation format

* chore: fix my_heap.cs test

* fix: test and doc typo

* fix bug for commit 5eae708 (#317)

* Add Zig code blocks.

* fix: resolve build error for commit 5eae708 (#318)

* Unify the function naming of
queue from `offer()` to `push()`

* Update TypeScript codes.

* Update binary_search_tree

* Update graph operations.

* Fix code indentation.

* Update worst_best_time_complexity,
leetcode_two_sum

* Update avl_tree

* 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>

* Fix Python code styles.
Update hash_map.

* chore: fix heap logic

* Update graph_adjacency_matrix.cs

* Update graph_adjacency_matrix.cs

* Update my_heap.cs

* fix: heap test

* fix naming format

* merge markdown

* fix markdown format

* Update graph_adjacency_list.cs

* Update graph_adjacency_matrix.cs

* Update PrintUtil.cs

* Create Vertex.cs

* Update heap.cs

---------

Co-authored-by: zjkung1123 <zjkung1123@fugle.tw>
Co-authored-by: sjinzh <99076655+sjinzh@users.noreply.github.com>
Co-authored-by: Yudong Jin <krahets@163.com>
Co-authored-by: nuomi1 <nuomi1@qq.com>
2023-02-15 21:24:24 +08:00
krahets
a383cb7ddf Update graph_operations.md 2023-02-15 04:34:10 +08:00
krahets
1c05d109c7 Remove graph_traversal.java 2023-02-15 03:46:05 +08:00
krahets
9848881945 Fix graph_operations.md and binary_tree_traversal.md 2023-02-15 03:43:29 +08:00
krahets
113450dc93 Merge branch 'develop' 2023-02-15 03:36:58 +08:00
krahets
7238c560d1 Update binary_tree_bfs codes 2023-02-15 03:36:22 +08:00
krahets
8e0080f003 Update graph codes 2023-02-15 03:35:54 +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
5541fe5964 Fix indentation and update array.md 2023-02-15 03:32:59 +08:00
krahets
ae53c59183 Update numbering 2023-02-15 03:26:09 +08:00
krahets
416a722594 Add mkdocs.yml 2023-02-15 03:25:08 +08:00
krahets
9ad87617a0 Add missing Vertex.java 2023-02-15 03:24:26 +08:00
krahets
dc441928d9 Add the section of Graph Traversal. 2023-02-15 03:22:57 +08:00
Zero
6044ec7feb
Update installation.md (#365)
* Update installation.md

添加 0.3.3. C/C++ 环境 中安装方式国内镜像

* Update installation.md

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-14 18:34:47 +08:00
krahets
909b253693 Update index.md 2023-02-13 17:35:29 +08:00
krahets
a8cbc5dd0a Update README.md 2023-02-13 16:34:09 +08:00
krahets
4b49373385 Update index.md, hashmap.md 2023-02-13 16:29:31 +08:00
krahets
c74f8293b9 Graph dev 2023-02-13 16:20:08 +08:00
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