krahets
eb8df49993
Update bubble sort and insertion sort.
2023-05-23 21:20:14 +08:00
krahets
f6d290d903
Update the comments of bubble sort
...
and insertion sort
2023-05-22 23:05:37 +08:00
krahets
d95c628eef
Fix the test case of binary search.
2023-05-21 19:29:24 +08:00
krahets
d3cc149c5a
Merge the chapter of binary tree and searching.
2023-05-21 19:26:52 +08:00
krahets
c3e7455285
Refactor the section of bianry search.
2023-05-21 04:51:32 +08:00
krahets
399e5df39a
Polish some cotents.
2023-05-18 20:27:58 +08:00
krahets
817b4598d5
Fix a comment in binary_search_tree code
2023-05-17 19:04:46 +08:00
krahets
f35020b335
Fix bucket_sort.
2023-05-15 19:54:07 +08:00
nuomi1
170713c642
feat: add Swift codes for n_queens_problem article ( #495 )
...
* refactor: rename PreorderTraversalIIITemplate
* feat: add Swift codes for n_queens_problem article
2023-05-15 01:13:17 +08:00
krahets
fe69f7240d
Add figures to replace_linear_by_hashing.md
2023-05-09 00:36:18 +08:00
nuomi1
9ec560d6cd
feat: add Swift codes for permutations_problem article ( #482 )
2023-05-04 05:31:06 +08:00
nuomi1
561ef20462
feat: add Swift codes for backtracking_algorithm article ( #480 )
...
* fix: compile error
* fix: package define
* feat: add Swift codes for backtracking_algorithm article
2023-05-03 18:45:43 +08:00
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
f7ae9c8a02
Fix the return type of binary search tree and avl tree
2023-04-14 05:47:20 +08:00
krahets
0bec52d7cc
Polish the chapter of heap, introduction, preface.
...
Replace "其它" with "其他"
2023-04-09 19:12:37 +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
nuomi1
944c34982c
feat: add Swift codes for bucket_sort article ( #444 )
2023-03-30 01:59:14 +08:00
Yudong Jin
34a1bca627
Add the section of radix sort. ( #441 )
2023-03-26 22:02:37 +08:00
nuomi1
31be65cc55
refactor: use stride ( #437 )
2023-03-23 02:57:31 +08:00
nuomi1
5ba85ea69d
feat: add Swift codes for counting_sort article ( #438 )
2023-03-23 02:57:13 +08:00
krahets
0840bc2043
Fix the deconstructor of linkedlist_queue.cpp
2023-03-16 18:43:13 +08:00
krahets
518b9efabc
Update a comment in array_hash_map
2023-03-15 03:48:31 +08:00
krahets
d5afd93571
Update array_hash_map
2023-03-15 03:11:43 +08:00
Yudong Jin
28aacccf44
refactor: Replace 'poll' with 'pop' in Heap ( #416 )
2023-03-13 22:31:05 +08:00
Yudong Jin
8aebbaad21
refactor: Replace poll with pop in Queue and Deque ( #415 )
2023-03-13 21:58:21 +08:00
nuomi1
17ff091a03
refactor: review Swift codes for chapter_computational_complexity art… ( #396 )
...
* refactor: review Swift codes for chapter_computational_complexity articles
* Update time_complexity.swift
* Update time_complexity.swift
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-03-03 21:22:23 +08:00
krahets
9ea24e8b26
Change the operations sequence of the likedlist's insert() method.
2023-02-27 20:25:43 +08:00
nuomi1
037769d94d
feat: add Swift codes for deque article ( #380 )
2023-02-23 23:03:33 +08:00
krahets
adbb12c011
Fix a comment in graph_adjacency_list
2023-02-23 20:32:26 +08:00
nuomi1
c6c4c9d997
feat: add Swift codes for graph_traversal article ( #378 )
...
* feat: add Swift codes for graph_traversal article
* refactor: rename parameters
* Update graph_dfs.swift
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-22 19:41:31 +08:00
nuomi1
04b0fb7455
refactor: extract Vertex and use Array<Vertex> ( #374 )
...
* refactor: extract Vertex and use Array<Vertex>
* docs: add chapter to Package.swift
* Update graph_adjacency_list.swift
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-21 21:35:28 +08:00
方圆
f0d8d8b1b0
feat: add ArrayDeque ( #348 )
...
* 双向队列: java 代码
* 双向队列: markdown 内容
* Rewrite array_deque.java
Update array_queue.java, linkedlist_deque.java
* Add ArrayDeque figures and rewrite the contents
---------
Co-authored-by: krahets <krahets@163.com>
2023-02-16 02:17:15 +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
krahets
300016393b
Add code source blocks to the chapter Graph.
...
Fix "函数" and "方法"
2023-02-10 01:04:26 +08:00
krahets
b973c86ee4
Fix the initial edges in graph_adjacency_matrix
2023-02-09 23:12:28 +08:00
krahets
38751cc5f5
Add build script for Swift.
2023-02-08 20:30:05 +08:00
krahets
8f512c2840
Update code extractor of Java.
2023-02-07 19:05:19 +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
nuomi1
12034c6af3
feat: add Swift codes for graph_operations article ( #327 )
2023-02-05 15:41:23 +08:00
Yudong Jin
f14e3e4c57
Update linear_search and hashing_search.
2023-02-04 23:49:37 +08:00
Yudong Jin
b39b84acba
Update avl_tree
2023-02-03 18:58:01 +08:00
Yudong Jin
70dead5cd0
Update worst_best_time_complexity,
...
leetcode_two_sum
2023-02-03 18:53:15 +08:00
Yudong Jin
7d14c9440e
Unify the function naming of
...
queue from `offer()` to `push()`
2023-02-02 01:43:01 +08:00
nuomi1
a0ee691475
fix: resolve build error for commit 5eae708
( #318 )
2023-02-02 00:23:48 +08:00
Yudong Jin
5eae708035
Fix array queue.
2023-02-01 03:23:29 +08:00
nuomi1
f43f7a64b6
feat: add Swift codes for chapter_sorting articles ( #313 )
...
* feat: add Swift codes for bubble_sort article
* feat: add Swift codes for insertion_sort article
* feat: add Swift codes for quick_sort article
* feat: add Swift codes for merge_sort article
* feat: add Swift codes for radix_sort
* refactor: remove ^ operator
2023-01-31 00:18:40 +08:00
Yudong Jin
9973822672
Merge branch 'develop'
2023-01-30 17:59:54 +08:00
Yudong Jin
ddd5562b60
Fix the index out of bound check in my_list.
2023-01-30 17:50:07 +08:00
nuomi1
1665fe176c
feat: add Swift codes for chapter_searching articles ( #309 )
...
* feat: add Swift codes for linear_search article
* feat: add Swift codes for binary_search article
* feat: add Swift codes for hashing_search article
2023-01-30 15:43:29 +08:00