0x6AcE
c5e37c1b41
Simplify the code in array.swift ( #960 )
...
* 简单点
* Apply suggestions from code review
Co-authored-by: nuomi1 <nuomi1@qq.com>
---------
Co-authored-by: Yudong Jin <krahets@163.com>
Co-authored-by: nuomi1 <nuomi1@qq.com>
12 months ago
Yudong Jin
fcbaf101a4
Several bug fixes and improvements ( #945 )
...
* Update Dockerfile for code debugging.
* Format Python code using Black.
* Improve dark theme by defining html classes for the figures, animations and cover images.
* Fix several glossary translation.
* Update a code comment.
* Fix climbing_stairs_backtrack: the pruning should not require the sorted choices list.
* Update the code of array and list traversal.
* Fix a rendering issue of README.md
* Update code of list traversal.
* Fix array_definition.png
* Update README.md
* Fix max_capacity_moving_short_board.png
* Fix array.dart
* Fix array.dart
* Fix array.dart
* Fix array.dart
1 year ago
krahets
5f3ad1ed3d
A few bug fixes.
1 year ago
krahets
355cc3a6b1
Bug fixes to C code.
1 year ago
krahets
db5d1d21f3
Several bug fixes.
1 year ago
nuomi1
7605cab160
feature(swift): Reimplement merge_sort and top_k ( #898 )
...
* feat: Add swift-collections
* fix: use heap
* refactor: merge
* fix: import HeapModule
1 year ago
krahets
5392afd44b
fix several bugs
1 year ago
krahets
a8c624fa5a
Fix the code in min_path_sum
1 year ago
krahets
fb552987f5
Update variable names in list and my_list
1 year ago
nuomi1
72f243eec3
feat(Swift): update min_cost_climbing_stairs_dp and hash_map_open_addressing ( #792 )
1 year ago
krahets
ff8e7ceec5
Several bug fixes.
1 year ago
krahets
cb9c14f5ff
fix build_tree, binary_search_tree.cs
...
fix two figures
1 year ago
krahets
f71b2a40da
fix preorder_traversal_iii_compact code
1 year ago
Yudong Jin
9c3b7b6422
Sort the coding languages by applications. ( #721 )
1 year ago
nuomi1
8d5e84f70a
Feature/chapter greedy swift ( #720 )
...
* feat: add Swift codes for greedy_algorithm article
* feat: add Swift codes for fractional_knapsack_problem article
* feat: add Swift codes for max_capacity_problem article
* feat: add Swift codes for max_product_cutting_problem article
1 year ago
nuomi1
b6ac6aa7d7
Feature/chapter divide and conquer swift ( #719 )
...
* feat: add Swift codes for binary_search_recur article
* feat: add Swift codes for build_binary_tree_problem article
* feat: add Swift codes for hanota_problem article
1 year ago
nuomi1
22d1135e04
refactor: remove buildTree ( #716 )
1 year ago
nuomi1
fd84d4443e
feat: add Swift codes for iteration_and_recursion article ( #717 )
1 year ago
krahets
a47a974a6a
fix climbing_stairs_constraint_dp code
1 year ago
krahets
628d8a516b
fix binary_search_tree code
1 year ago
krahets
9731a46d67
Fix a definition.
1 year ago
krahets
f5dda8d99a
Polish the content
1 year ago
krahets
2626de8d0b
Polish the chapter
...
introduction, computational complexity.
1 year ago
krahets
c310edb672
Polish the chapter of array and linkedlist
1 year ago
krahets
932d14644d
Polish the content
...
Polish the chapter preface, introduction and complexity anlysis
1 year ago
nuomi1
fceea4bbda
Feature/chapter searching swift ( #673 )
...
* fix: remove binary_search_edge
* feat: add Swift codes for binary_search_insertion article
* feat: add Swift codes for binary_search_edge article
1 year ago
Yudong Jin
71074d88f6
Add the section of binary search insertion. ( #671 )
...
Refactor the section of binary search edge.
Finetune the figures of binary search.
1 year ago
nuomi1
a54ec55516
fix: break reference cycling ( #666 )
1 year ago
krahets
b067016bfa
Update preorder_traversal_iii.
1 year ago
nuomi1
9ab4b0b15c
Feature/array representation of tree swift ( #649 )
...
* refactor: encode & decode Tree
* style: build warning
* feat: add Swift codes for array_representation_of_tree article
1 year ago
krahets
bba62bbe75
Fix the code of preorder_traversal_iii_compact
1 year ago
krahets
c54536d1a1
Modify the problem of preorder_traversal_iii
1 year ago
nuomi1
9ea8a73059
Feature/chapter dynamic programming swift ( #608 )
...
* feat: add Swift codes for intro_to_dynamic_programming article
* feat: add Swift codes for dp_problem_features article
* feat: add Swift codes for dp_solution_pipeline article
* feat: add Swift codes for knapsack_problem article
* feat: add Swift codes for unbounded_knapsack_problem article
* feat: add Swift codes for edit_distance_problem article
1 year ago
nuomi1
de4f8378a3
feat: add Swift codes for subset_sum_problem article ( #584 )
1 year ago
nuomi1
b4de2c0d13
feat: add Swift codes for top_k article ( #578 )
1 year ago
nuomi1
87076132e7
feat: add Swift codes for hash_algorithm article ( #576 )
1 year ago
nuomi1
7f8b0fff54
feat: add Swift codes for hash_collision article ( #569 )
...
* feat: add Swift codes for hash_collision article
* refactor: extract common Pair
* Update hash_map.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
nuomi1
9611a8f135
fix: compiler error and reset root ( #570 )
1 year ago
krahets
9fc1a0b2b3
Update n_queens code.
1 year ago
Yudong Jin
9563965a20
Add the codes of hashmap ( #553 )
...
of chaining and open addressing
1 year ago
krahets
6377e3316a
Fix a comment in my_list.xx
1 year ago
nuomi1
56a4385202
feat: add Swift codes for heap_sort article ( #520 )
1 year ago
nuomi1
8bed60f0d7
feat: add Swift codes for selection_sort article ( #519 )
1 year ago
nuomi1
4ce20f6bbc
feat: add Swift codes for binary_search_edge article ( #518 )
1 year ago
krahets
b39e79be85
Fix remove() in binary search tree.
2 years ago
krahets
eb8df49993
Update bubble sort and insertion sort.
2 years ago
krahets
f6d290d903
Update the comments of bubble sort
...
and insertion sort
2 years ago
krahets
d95c628eef
Fix the test case of binary search.
2 years ago
krahets
d3cc149c5a
Merge the chapter of binary tree and searching.
2 years ago
krahets
c3e7455285
Refactor the section of bianry search.
2 years ago