Commit Graph

1181 Commits (9e4017b3fba671100132553ca2e855ec9eb1a4cd)

Author SHA1 Message Date
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)
1 year ago
Yudong Jin ea7275ab6a
add forLoopRecur in recursion.c (#866)
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)
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 da5ef293d9 fix a typo
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
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)
1 year ago
王作勋 1a3b819355
Add Climbing stairs constraint dp in C code (#829)
1 year ago
krahets 51dab9dd25 Update overrides directory structure.
1 year ago
hpstory f62256bee1
fix(csharp): Modify method name to PascalCase, simplify new expression (#840)
1 year ago
47 70cff2d99f
fix: Fixed the state transition error in minCostClimbingStairsDP function (#839)
1 year ago
Nepenthe 61e1d1faec
feat(go): add forLoopRecur func (#816)
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
krahets 4355f8d49f Several bug fixes.
1 year ago
krahets 98538b924f Several bugs fixes and improvments;
1 year ago
易春风 e8bf5879b0
fix: the rust variable should have a snake case name (#811)
1 year ago
易春风 5b692968a9
feat: add for-loop-recur rust codes (#803)
1 year ago
花无缺 191330e73a
feat: Add C code for the section of intro to DP (#771)
1 year ago
Flamingo 22be495412
fix(cpp). update hash_map (#800)
1 year ago
liuyuxin e3366363b6
feat(dart): add forLoopRecur and update HashMapOpenAddressing (#802)
1 year ago
krahets e567d08348 Bug fixes
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 e3773b7f76 Several bug fixes and improments.
1 year ago
jmin 26bf0c5a78
feat: Add javascript and typescript code in chapter_computational_com… (#780)
1 year ago
易春风 4b5e21d0d9
refactor: update the hash_map_open_addressing rust codes to synchronize with java (#787)
1 year ago
Reese Wellin a6a1036dc9
fix(JS, TS): chapter_sorting QuickSortMedian and QuickSortTailCall example (#785)
1 year ago
hpstory 29c5ff4a8f
feat(csharp): add forLoopRecur and new HashMapOpenAddressing (#783)
1 year ago
Justin Tse 2f727d895d
Fix JS and TS sort bugs (#784)
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
Yudong Jin a46b482951
Refactor the hash_map_open_addressing implementation with lazy reallocation. (#776)
1 year ago
lyl625760 45e20e57a1
fix: Update hash_map_open_addressing.java (#727)
1 year ago
krahets 8effa58a59 Several bug fixes.
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
krahets cb9c14f5ff fix build_tree, binary_search_tree.cs
1 year ago
xianii af2aeb0897
Remove duplication in cmake (#756)
1 year ago
krahets d190dbf3c1 Several enhancements and fixes
1 year ago
malone6 a9d70e9e4b
fix: raise error in peek() function of linkedlist_stack.py, linkedlist_queue.py, linkedlist_deque.py (#754)
1 year ago
MwumLi 01732cc14f
feat: add c codes for iteration (#735)
1 year ago
malone6 9b8625d741
Sync the while loop in iteration.cs with other languages (#746)
1 year ago
keshida d5bac12f60
fix: modify a function name in array_stack.js(ts) and array_queue.js(ts) (#739)
1 year ago
gonglja 4a923f5a86
Fix `insert` function in `mylist.c` (#747)
1 year ago
krahets 5f814d6538 Add comparison between iteration and recursion.
1 year ago
krahets 2b54352bec prepare 1.0.0b5 release
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 fb301b5767
Fix print error (#729)
1 year ago
gonglja 46d6463883
Remove unnecessary printing (#733)
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
Night Cruising 2217ffc447
feat: add rust codes for simple_hash (#724)
1 year ago
XiaChuerwu 180d4982c9
feat: Add C codes for chapter_hashing (#706)
1 year ago
Yudong Jin 9c3b7b6422
Sort the coding languages by applications. (#721)
1 year ago
nuomi1 8d5e84f70a
Feature/chapter greedy swift (#720)
1 year ago
krahets dd72335235 Format C, C++, C#, Go, Java, Python, Rust code.
1 year ago
nuomi1 b6ac6aa7d7
Feature/chapter divide and conquer swift (#719)
1 year ago
krahets 978857570f Format JS and TS code.
1 year ago
Justin Tse f96f583771
Add Chapter greedy for JS and TS code (#718)
1 year ago
Justin Tse 89a5f4d0d7
Fix binary_search_tree TS code and update JS code style (#715)
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
gaofer 620bfb1f1d
Iteration and recursion code in js/ts (#703)
1 year ago
Night Cruising 3af00d00d7
feat: add rust codes for chapter computational complexity (#714)
1 year ago
hpstory 8a0a8b80cf
feat(csharp): fix binary_search_tree code (#712)
1 year ago
liuyuxin 233e842d63
fix dart code for binary_search_tree (#711)
1 year ago
Night Cruising 95bc0ffdb2
Feat: add rust codes for chapter searching (#710)
1 year ago
Night Cruising d37b795ef2
Fix the bug of wrong function call (#709)
1 year ago
krahets a47a974a6a fix climbing_stairs_constraint_dp code
1 year ago
krahets 628d8a516b fix binary_search_tree code
1 year ago
gaofer f7ab4797bf
feat: add dynamic programming code for JS and TS (#692)
1 year ago
krahets 63aef4ed08 Fix a figure and latex symbols.
1 year ago
gaofer 1b94b77cbb
Add code in javascript and typescript. (#690)
1 year ago
XiaChuerwu cf0d4b32ec
Added destructor function (#702)
1 year ago
hpstory 8528ae224e
feat(csharp): add the section of iteration and recursion (#697)
1 year ago
Reanon 20f53e9fc4
feat(go): add iterration/recursion & fix bugs (#698)
1 year ago
liuyuxin 50e17905fd
feat: Add Dart Codes for section_iteration_and_recursion (#696)
1 year ago
krahets 9731a46d67 Fix a definition.
1 year ago
krahets ae304bd605 Update iteration code.
1 year ago
Yudong Jin 3e64f68ae9
Add the section of iteration and recursion. (#693)
1 year ago
krahets f524b957d4 Finetune and fix
1 year ago
Reanon 628a274b50
feat(go): support binary search & fix comments (#691)
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
liuyuxin 0858ab91c0
Add missing Dart codes and fix some errors (#689)
1 year ago
Justin Tse 5d7e0a59b1
Add JavaScript and TypeScript code of top_k and update some code style (#686)
1 year ago
liuyuxin 4c75c204f3
feat: Add Dart codes for binary search (#688)
1 year ago
Night Cruising 5a4182372c
Fix the bug of index in rust codes (#685)
1 year ago
krahets 0c18198c01 Fix the figures.
1 year ago
William Yuan ec82be7dc2
feat(tree): Add the array representation of the binary tree(js,ts) (#681)
1 year ago
liuyuxin 10c397b172
feat: Add Dart codes for chapter_dynamic_programming and chapter_greedy (#683)
1 year ago
liuyuxin 4325974af1
feat: Add Dart codes for chapter_backtracking and chapter_divide_and_conquer (#680)
1 year ago
William Yuan e97eee0e18
feat(chapter_hashing): Add js and ts codes for chapter hashing (#675)
1 year ago
krahets 6ef4dc6444 Fix the content
1 year ago
krahets 932d14644d Polish the content
1 year ago
krahets 4bc6b8af7b finetune
1 year ago
hpstory c14ca74b8b
feat(csharp): add binary search csharp codes (#676)
1 year ago
nuomi1 fceea4bbda
Feature/chapter searching swift (#673)
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
William Yuan 70784a1ec3
feat(chapter_backtracking): Add js and ts codes for chapter 13.3 (#667)
1 year ago
krahets 6da6d24193 Fix the code of hash map chaining.
1 year ago
nuomi1 a54ec55516
fix: break reference cycling (#666)
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
yishangzhang fc63e990c8
fix: Object pointer not deleted (#662)
1 year ago
William Yuan 35e9c8c209
feat(chapter_dynamic_programming): Add js and ts codes for chapter 14.1 (#658)
1 year ago
WangSL 13bb76c283
feat: add rust code for build_in_hash and hash_collision (#629)
1 year ago
Reanon 575bcf58ef
feat(go/tree): support array binary tree (#655)
1 year ago
Yudong Jin 027bdd6510
Release Rust code to documents. (#656)
1 year ago
krahets 60162f6fa8 Finetune Rust code.
1 year ago
Night Cruising 06006c58a2
feat: add rust codes for array binary tree (#654)
1 year ago
krahets 35973068a7 Prepare for release 1.0.0b4
1 year ago
krahets b067016bfa Update preorder_traversal_iii.
1 year ago
krahets 90af225dae Remove `-> None` for Python functions
1 year ago
gonglja ac0f405f9a
Fix quadraticRecur bug in space_complexity.c (#651)
1 year ago
Night Cruising fdbe275fc9
fix: check the rust codes and fix them (#653)
1 year ago
hpstory 978d3c2ed7
fix(csharp): reformat csharp codes and docs (#652)
1 year ago
krahets 1777a16865 Fix Go comment and link
1 year ago
nuomi1 9ab4b0b15c
Feature/array representation of tree swift (#649)
1 year ago
Reanon c1adeb2399
feat(go/dp): support dynamic programming (#622)
1 year ago
Reanon 10e5e7499b
feat(go/greedy): add greedy in go code (#648)
1 year ago
Night Cruising 41db3701ab
Update max_product_cutting.java (#647)
1 year ago
Night Cruising 9d56622c75
feat: add rust codes for chapter greedy (#646)
1 year ago
hpstory b43de88f71
feat(csharp): add csharp code for charper greedy (#645)
1 year ago
Hongyun Zhang eb695937a4
Add divide and conquer go code (#638)
1 year ago
krahets bba62bbe75 Fix the code of preorder_traversal_iii_compact
1 year ago
Yudong Jin 075c3abf88
Add the section of max product cutting problem. (#642)
1 year ago
krahets 1a55dbdf2e Finetune doc and code.
1 year ago
Yudong Jin 76f11ae168
Add the section of max capacity problem. (#639)
1 year ago
Hongyun Zhang 8068c42688
fixed error when the list is empty (#637)
1 year ago
NI-SW da2c71d936
add c code for graph operation (#601)
1 year ago
Hongyun Zhang 4e4a13e1bb
feat: Add Go code to binary search recursion under divide and conquer (#630)
1 year ago
hpstory 2af77ff565
feat(csharp): add csharp code for array binary tree (#632)
1 year ago
Yudong Jin 2b7d7aa827
Add the chapter of greedy. (#633)
1 year ago
krahets c54536d1a1 Modify the problem of preorder_traversal_iii
1 year ago
krahets 4e13755023 Add implementation of array binary tree.
1 year ago
krahets c68f18e480 Finetune
1 year ago
ZongYangL 03cbf5b972
Anonymous inner classes create generic instances that display the dec… (#627)
1 year ago
hpstory 7a6fd4b3dd
feat(csharp): add csharp code for charper divide and conquer (#628)
1 year ago
sjinzh 8737fc66dd
rust : add codes for chapter_divide_and_conquer (#621)
1 year ago
nuomi1 9ea8a73059
Feature/chapter dynamic programming swift (#608)
1 year ago
krahets 1f784dadb0 Add Java and C++ code for the chapter of
1 year ago
krahets fc7bcb615d Add the section of binary_search_recur.
1 year ago
Yudong Jin 909daea105
Add the section of hanota problem. (#614)
1 year ago
krahets f839dc1b0e Fix naming of the section
1 year ago
Night Cruising a296786b2a
feat: add rust codes for chapter heap (#612)
1 year ago
sjinzh ead33ca863
zig : update codes style && rust : add codes for chapter_backtracking. (#613)
1 year ago
Yudong Jin 51a4c5089e
feat: Add the chapter of divide and conquer (#609)
1 year ago
Night Cruising f5ea4fa1c6
feat: add rust codes for avl tree (#605)
1 year ago
sjinzh b1f8857212
rust and zig : add codes for chapter_dynamic_programming (#606)
1 year ago
hpstory 5c09add1ec
feat(csharp): add csharp code for edit distance (#604)
1 year ago
Night Cruising c3add62dc7
feat: add rust codes for graph chapter (#598)
1 year ago
hpstory c9a8b0a9ea
feat(csharp): add csharp code for unbounded knapsack (#596)
1 year ago
Yudong Jin c3f80e52af
Add the section of edit distance problem (#599)
1 year ago
Night Cruising f548eae663
feat: add rust codes for bucket sort, counting sort and radix sort (#590)
1 year ago
sjinzh 6733a4843c
rust : add codes for chapter_backtracking (#594)
1 year ago
NI-SW c36010b324
add C code for graph (#583)
1 year ago
krahets 1c02859b13 Add the section of unbounded knapsack problem.
1 year ago
krahets ad0fd45cfb Add Java and C++ code for the chapter of DP.
1 year ago
krahets 465dafe9ec Update the text and code of DP.
1 year ago
hpstory 5ea016816a
fix(csharp): fix csharp method name in knapsack (#592)
1 year ago
sjinzh 459449d41a
zig : upgrade codes && rust : add codes for chapter_searching and chapter_dynamic_programming. (#591)
1 year ago
Night Cruising 6c133d42d5
rust code for heap sort (#579)
1 year ago
Yudong Jin d6cc92614c
add the section of dp solution pipeline (#588)
1 year ago
krahets cddddb8b8b Update knapsack_problem and intro_to_dp
1 year ago
hpstory cbfb9e59ad
feat(csharp): add csharp code for knapsack (#585)
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
Yudong Jin 55d8b710fa
Add the section of knapsack problem. (#580)
1 year ago
krahets 470bc10a74 Fix some contents.
1 year ago
Jerry You 763955aa8b
fix: removeEdge not effects on graph in golang (#503)
1 year ago
hpstory bf1bccc1ae
feat(csharp): add csharp code for charper dynamic programming (#574)
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)
1 year ago
krahets 69920a0599 Fix binary search.
1 year ago
krahets 920512d872 Update the section of intro to DP.
1 year ago