hpstory
fb3ce050c1
feat(csharp): add .net building and testing workflow, solution file ( #879 )
1 year ago
krahets
17252b53a9
Format code and docs.
1 year ago
Logan Qiu
d639d946f0
fix: Removed unnecessary JS & TS codes in linked_list.md ( #852 )
...
* fix: Removed unnecessary JS & TS codes in linked_list.md
* Update linked_list.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
Reese Wellin
88a1e4aaac
refactor(JS, TS): Improve code readability in edit_distance ( #860 )
...
* fix(JS、TS): chapter_sorting QuickSortMedian and QuickSortTailCall example
* refactor(JS、TS): Improve code readability in edit_distance
* Updated code
1 year ago
krahets
d27890d98d
Fix automating build workflow for Python
1 year ago
krahets
b7c110e5ec
Add build check with py_compile
1 year ago
Yudong Jin
1b9978998a
Create python.yml ( #877 )
1 year ago
Sizhuo Long
9562287a21
Update Q&A of data_structure, array_and_linkedlist ( #861 )
...
* "Add Q&A sections to array/linked_list and tree chapters"
Added question and answers related to the use of std::list in C++ and space complexity in full binary tree traversal to their respective chapters in array_and_linked_list and tree documentation.
* Update summary.md
* Update summary.md
* Update summary.md
* "Expand details on HashTable, arrays, and linked lists in docs"
Extended the section explaining how HashTables use both linear and nonlinear data structures. Added Q&A sections addressing common questions on character type size, the static and dynamic nature of array-based data structures, and distinguishing array and linked list from logic and physical perspective. These changes provide clearer understanding for readers.
* "Add FAQs to array and linked list docs chapter"
Added several Frequently Asked Questions to improve clarity in the arrays and linked list documentation chapter. These questions mainly address the behavior and structure of array initializations, circular array queues, and single-link list node deletion. Providing answers to these can enhance understanding and prevent misconceptions among readers.
* Update summary.md
* Update summary.md
* Update summary.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
nuomi1
e81c9a85b5
Add CI check for Swift ( #875 )
...
* Create swift.yml
* Update swift.yml
* Update swift.yml
* Update swift.yml
1 year ago
noobcodemaker
fa9607b749
Update permutations_problem.md ( #864 )
...
* Update permutations_problem.md
* Update permutations_problem.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
sjinzh
0c470d19c8
upate build.zig ( #874 )
1 year ago
krahets
fc70b1eb2c
Fix the docs of binary_search_tree and
...
graph_operations.
1 year ago
krahets
433997c38d
Fix several figures.
1 year ago
krahets
5aacf2dfe0
Improve Python code for importing modules.
1 year ago
krahets
1e49574332
Simplify struct declarations of C.
...
Use PascalCase for all structs in C.
SImplify n_queens.c
Format C code for chapter of graph.
1 year ago
lucaswangdev
070d23ee6e
fix: hash_collision.md squared detection description ( #867 )
1 year ago
krahets
5392afd44b
fix several bugs
1 year ago
Yudong Jin
51405c0669
add permutations_ii.c and re-implement permutations_i.c ( #868 )
1 year ago
lucas
37872726b0
feat: build_tree.c translation ( #847 )
...
* feat: build_tree.c translation
* Update CMakeLists.txt
* chore: find with map
* change inordermap
* Update build_tree.c
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
Yudong Jin
ea7275ab6a
add forLoopRecur in recursion.c ( #866 )
1 year ago
Yudong Jin
faa44fecd2
Squash the language code blocks and fix list.md ( #865 )
1 year ago
krahets
346c8451de
Fix code naming style.
1 year ago
krahets
ada37fd1f8
Fix Python code.
1 year ago
krahets
2976d9ff56
Fix Python code.
1 year ago
krahets
a8c624fa5a
Fix the code in min_path_sum
1 year ago
Yudong Jin
3df5c36370
refactor: Improve the hash_map_chaining.c implementation. ( #858 )
...
* Improve the hash_map_chaining.c implementation.
* Update hash_map_chaining.c
1 year ago
krahets
84e2799f1b
Fix hash_map_chaining.c and
...
hash_map_open_addressing.c
1 year ago
lclc6
fe01f77ff8
Create hash_map_open_addressing.c ( #838 )
...
* Create hash_map_open_addressing.c
哈希冲突-C语言
* Update hash_map_open_addressing.c
* Update hash_map_open_addressing.c
* Update hash_map_open_addressing.c
1 year ago
FreddieLi
61eca92055
fix get() in hash_map_chaining.c ( #845 )
...
Fix get function.
1 year ago
krahets
da5ef293d9
fix a typo
1 year ago
krahets
227bd66223
Update Dockerfile and mkdocs.yml
...
Fix a variable name in list.md
1 year ago
krahets
c37b7c807b
Several bug fixes
1 year ago
krahets
fb552987f5
Update variable names in list and my_list
1 year ago
gledfish
e5f8c93f5d
fix a Python variable name in list.md
...
Python 代码中的列表命名为list时,会出现如下错误。
list:list[int] = [1, 2, 3, 4, 5]
TypeError: list indices must be integers or slices, not type
建议修改为list2
1 year ago
lucas
704b638d89
feat: n_queens.c translation ( #774 )
...
* feat: tranlating n_queens.c
* Reference to c++ code with additional comments
* Update n_queens.c
* Update n_queens.c
* Format n_queens.c
* Update n_queens.c
keep the file header information format consistent with others
* fine tune
* fine tune
* Delete mkdocs-en.yml
* Update README.md
---------
Co-authored-by: krahets <krahets@163.com>
1 year ago
krahets
c098bcdde4
Several bug fixes.
1 year ago
coderlef
b85deae275
Update time_complexity.md ( #844 )
...
错别字
1 year ago
hpstory
e03022d5fb
fix: Polishing code format on linearLogRecur, convert String type to string ( #841 )
1 year ago
王作勋
2bba70fd87
Add Edit distance in C code ( #835 )
...
* Update vector.h
增加功能列表:
获取向量的第 i 个元素
设置向量的第 i 个元素
向量扩容
向量缩容
向量插入元素
向量删除元素
向量交换元素
向量是否为空
向量是否已满
向量是否相等
对向量内部进行排序(升序/降序)
对向量某段数据排序(升序/降序)
* Create hanota.c
* 新增binary_search_recur.c
* Update vector.h
* Delete codes/c/chapter_divide_and_conquer directory
* Update vector.h
* Create binary_search_recur.c
* Delete codes/chapter_divide_and_conquer directory
* Update vector.h
* old vector.h
* Create edit_distance.c
* Update edit_distance.c
* Update edit_distance.c
* Update edit_distance.c
* Create CMakeLists.txt
* Update edit_distance.c
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
王作勋
1a3b819355
Add Climbing stairs constraint dp in C code ( #829 )
...
* Update vector.h
增加功能列表:
获取向量的第 i 个元素
设置向量的第 i 个元素
向量扩容
向量缩容
向量插入元素
向量删除元素
向量交换元素
向量是否为空
向量是否已满
向量是否相等
对向量内部进行排序(升序/降序)
对向量某段数据排序(升序/降序)
* Create hanota.c
* 新增binary_search_recur.c
* Update vector.h
* Delete codes/c/chapter_divide_and_conquer directory
* Update vector.h
* Create binary_search_recur.c
* Delete codes/chapter_divide_and_conquer directory
* Update vector.h
* Create climbing_stairs_constraint_dp.c
* RollBack vector.h
* Create CMakeLists.txt
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
krahets
51dab9dd25
Update overrides directory structure.
1 year ago
krahets
7e15726bb5
Update .gitignore
1 year ago
krahets
b39c2a94d3
Move docs/zh back to docs.
...
Move docs/overrides to overrides/.
Other fine tunes.
1 year ago
hpstory
f62256bee1
fix(csharp): Modify method name to PascalCase, simplify new expression ( #840 )
...
* Modify method name to PascalCase(array and linked list)
* Modify method name to PascalCase(backtracking)
* Modify method name to PascalCase(computational complexity)
* Modify method name to PascalCase(divide and conquer)
* Modify method name to PascalCase(dynamic programming)
* Modify method name to PascalCase(graph)
* Modify method name to PascalCase(greedy)
* Modify method name to PascalCase(hashing)
* Modify method name to PascalCase(heap)
* Modify method name to PascalCase(searching)
* Modify method name to PascalCase(sorting)
* Modify method name to PascalCase(stack and queue)
* Modify method name to PascalCase(tree)
* local check
1 year ago
krahets
6f7e768cb7
Move docs/* to docs/zh/*
1 year ago
krahets
400b3914f6
Move docs/zh back to docs.
1 year ago
47
70cff2d99f
fix: Fixed the state transition error in minCostClimbingStairsDP function ( #839 )
...
Signed-off-by: foursevenlove <foursevenlove@gmail.com>
1 year ago
Nepenthe
61e1d1faec
feat(go): add forLoopRecur func ( #816 )
1 year ago
王作勋
ef87bd494a
Add Binary search recur in C code ( #820 )
...
* Update vector.h
增加功能列表:
获取向量的第 i 个元素
设置向量的第 i 个元素
向量扩容
向量缩容
向量插入元素
向量删除元素
向量交换元素
向量是否为空
向量是否已满
向量是否相等
对向量内部进行排序(升序/降序)
对向量某段数据排序(升序/降序)
* Create hanota.c
* 新增binary_search_recur.c
* Update vector.h
* Delete codes/c/chapter_divide_and_conquer directory
* Update vector.h
* Create binary_search_recur.c
* Create CMakeLists.txt
* Update vector.h
* RollBack vector.h
* Update CMakeLists.txt
* Update binary_search_recur.c
* Update binary_search_recur.c
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
王作勋
2b59c9ce88
Add Coin change ii in C code ( #834 )
...
* Update vector.h
增加功能列表:
获取向量的第 i 个元素
设置向量的第 i 个元素
向量扩容
向量缩容
向量插入元素
向量删除元素
向量交换元素
向量是否为空
向量是否已满
向量是否相等
对向量内部进行排序(升序/降序)
对向量某段数据排序(升序/降序)
* Create hanota.c
* 新增binary_search_recur.c
* Update vector.h
* Delete codes/c/chapter_divide_and_conquer directory
* Update vector.h
* Create binary_search_recur.c
* Delete codes/chapter_divide_and_conquer directory
* Update vector.h
* old vector.h
* Create coin_change_ii.c
* Update coin_change_ii.c
* Create CMakeLists.txt
* Update coin_change_ii.c
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago