Commit Graph

225 Commits (b884d385e302a7683242ee211f201c616f0ea0ff)

Author SHA1 Message Date
krahets 346c8451de Fix code naming style.
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)
1 year ago
krahets 84e2799f1b Fix hash_map_chaining.c and
1 year ago
lclc6 fe01f77ff8
Create hash_map_open_addressing.c (#838)
1 year ago
FreddieLi 61eca92055
fix get() in hash_map_chaining.c (#845)
1 year ago
krahets c37b7c807b Several bug fixes
1 year ago
krahets fb552987f5 Update variable names in list and my_list
1 year ago
lucas 704b638d89
feat: n_queens.c translation (#774)
1 year ago
王作勋 2bba70fd87
Add Edit distance in C code (#835)
1 year ago
王作勋 1a3b819355
Add Climbing stairs constraint dp in C code (#829)
1 year ago
王作勋 ef87bd494a
Add Binary search recur in C code (#820)
1 year ago
王作勋 2b59c9ce88
Add Coin change ii in C code (#834)
1 year ago
王作勋 8b4d3300c3
Add Coin change in C code (#833)
1 year ago
王作勋 d75a2eb691
Add Unbounded knapsack in C code (#832)
1 year ago
王作勋 1364bc52e7
Add Min path sum in C code (#831)
1 year ago
王作勋 946853431f
Add Knapsack in C code (#830)
1 year ago
王作勋 c6bc10a101
Add Min cost climbing stairs dp in C code (#828)
1 year ago
王作勋 21fa72ea9f
Add hanota in C code (#819)
1 year ago
王作勋 1f512b105f
refactor: Extend vector.h implementation (#818)
1 year ago
花无缺 191330e73a
feat: Add C code for the section of intro to DP (#771)
1 year ago
krahets e567d08348 Bug fixes
1 year ago
krahets ff8e7ceec5 Several bug fixes.
1 year ago
krahets 1067f30fe7 Include glightbox plugin enabling zooming figures
1 year ago
xianii d225b416cf
feat: add C code in chapter_greedy (#755)
1 year ago
gonglja 53d91db10d
Fix unreleased memory error (#769)
1 year ago
gonglja bd740b0466
Fix linkedlist queue print error (#770)
1 year ago
krahets 9f59c572b5 fine tune
1 year ago
xianii af2aeb0897
Remove duplication in cmake (#756)
1 year ago
MwumLi 01732cc14f
feat: add c codes for iteration (#735)
1 year ago
gonglja 4a923f5a86
Fix `insert` function in `mylist.c` (#747)
1 year ago
gonglja 63efe61e56
Add interation.c recursion.c simple_hash.c binary_search_edge.c binary_search_insertion.c in C codes. (#731)
1 year ago
gonglja 7483c6ce1e
Fix `my_heap.c` build error (#732)
1 year ago
linweibin c8e0c476bd
增加C的贪心算法代码 (#726)
1 year ago
krahets f71b2a40da fix preorder_traversal_iii_compact code
1 year ago
XiaChuerwu 180d4982c9
feat: Add C codes for chapter_hashing (#706)
1 year ago
krahets dd72335235 Format C, C++, C#, Go, Java, Python, Rust code.
1 year ago
krahets 628d8a516b fix binary_search_tree code
1 year ago
Reanon 20f53e9fc4
feat(go): add iterration/recursion & fix bugs (#698)
1 year ago
krahets f5dda8d99a Polish the content
1 year ago
krahets 2626de8d0b Polish the chapter
1 year ago
krahets c310edb672 Polish the chapter of array and linkedlist
1 year ago
krahets 932d14644d Polish the content
1 year ago
krahets 08e4924054 Finetune
1 year ago
Yudong Jin 71074d88f6
Add the section of binary search insertion. (#671)
1 year ago
gonglja 9900e0c668
Add array_binary_tree.c and update push_back and pop_back in vector.h (#664)
1 year ago
krahets dbe3b4d6ba Fine tune.
1 year ago
gonglja f7b827b303
Fix space_complexity.c build error. (#663)
1 year ago
gonglja 8f5ef68c65
feat: Add C codes for the chapter backtracking (#593)
1 year ago
gonglja ac0f405f9a
Fix quadraticRecur bug in space_complexity.c (#651)
1 year ago
krahets 1a55dbdf2e Finetune doc and code.
1 year ago
NI-SW da2c71d936
add c code for graph operation (#601)
1 year ago
NI-SW c36010b324
add C code for graph (#583)
1 year ago
krahets 504dff1728 Fix "函数" and "方法"
1 year ago
Yudong Jin 9563965a20
Add the codes of hashmap (#553)
1 year ago
krahets d3e597af94 Update cmakelists.txt
1 year ago
krahets 0345a479a4 Fix some codes.
1 year ago
gonglja 86209e0a7b
feat: Add C codes for bucket sort, heap sort, selection sort, binary search edge (#525)
1 year ago
krahets fb72aa385e Polish some texts.
2 years ago
krahets eb8df49993 Update bubble sort and insertion sort.
2 years ago
krahets f6d290d903 Update the comments of bubble 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
krahets 399e5df39a Polish some cotents.
2 years ago
krahets 817b4598d5 Fix a comment in binary_search_tree code
2 years ago
krahets fe69f7240d Add figures to replace_linear_by_hashing.md
2 years ago
gonglja 53ca2144e2
Fix the problem in binary_tree_bfs.c and the problem that the memory is not released. (#487)
2 years ago
krahets 78c84dfec6 Fix counting_sort.c
2 years ago
krahets 3f430fb85e Update the code of permutations i and ii
2 years ago
krahets 145975b335 Rename the common modules in Java, C++ and C.
2 years ago
Guanngxu 95ed93dc4b
feat: add C array hash map (#424)
2 years ago
gonglja ac6eece4f3
Modify code and comments (#473)
2 years ago
krahets 661603d467 Add the hashtable based on uthash.h to docs
2 years ago
Yudong Jin dbc4906582
Publish the C codes to the docs. (#469)
2 years ago
krahets 6723cdbc7e Represent null with INT_MAX in C, C++.
2 years ago
krahets af0f92c18d Fine tune the C codes.
2 years ago
krahets 9a98ff8a5e Format the C code in Clang-Format Style: Microsoft
2 years ago
Yudong Jin 881d573790
Refactor the articles related to searching algorithm. Add the chapter of binary search. Add the section of searching algorithm revisited. (#464)
2 years ago
gonglja 28fdd26f2f
Fix some errors of cmake build and add hashing_search.c (#458)
2 years ago
Gonglja 8bc41bc013
Add space_complexit under C and fix memory leak under CPP (#456)
2 years ago
krahets b3640c53d1 Remove unused functions.
2 years ago
krahets f7ae9c8a02 Fix the return type of binary search tree and avl tree
2 years ago
krahets 0bec52d7cc Polish the chapter of heap, introduction, preface.
2 years ago
Yudong Jin 1c8b7ef559
refactor: Replace 结点 with 节点 (#452)
2 years ago
Reanon cac38c0c93
feat(bucket_sort): add bucket_sort code in go/c (#443)
2 years ago
Yudong Jin 34a1bca627
Add the section of radix sort. (#441)
2 years ago
Guanngxu 9b0bdd929f
feat: add C merge sort (#434)
2 years ago
Yudong Jin 65e47b0748
Add Python and C++ code for the counting sort. (#436)
2 years ago
Guanngxu e539c44f63
feat: add C counting_sort (#430)
2 years ago
Reanon c837882dbd
feat(counting_sort): support counting_sort in c/go (#431)
2 years ago
Guanngxu 2356cc1b2e
add C binary_search and linear_search (#426)
2 years ago
Gonglja 564ace6bc1
feat(codes/c): Add linkedlist_deque.c (#422)
2 years ago
krahets 3cd724a6d8 Update list_node.h
2 years ago
krahets 0840bc2043 Fix the deconstructor of linkedlist_queue.cpp
2 years ago
krahets 516cb17775 Replace poll with pop
2 years ago
Yudong Jin 28aacccf44
refactor: Replace 'poll' with 'pop' in Heap (#416)
2 years ago
Yudong Jin 8aebbaad21
refactor: Replace poll with pop in Queue and Deque (#415)
2 years ago
Gonglja 2d17ee8e92
feat(codes/c): Add array_deque.c (#412)
2 years ago
Gonglja f73b6a3654
feat(codes/c): Add linkedlist_queue.c (#413)
2 years ago