Commit Graph

1202 Commits (8a6ce26f6a6bdc7897b366bc70ada4bcb4c5e235)

Author SHA1 Message Date
Scai 84f4b8d285
fix: Update linkedlist_deque.cpp (#1062)
10 months ago
gonglja e69f60c07c
fix(linkedlist_queue.c): Remove redundant conditional judgments. (#1055)
10 months ago
hpstory 85f0071c2a
fix(csharp): while loop II comment (#1052)
10 months ago
Yudong Jin f6976978dd
Prepare 1.0.0 release (#1044)
10 months ago
hpstory b9ae4ffe9a
feature: add auto-build-and-test workflow for go (#1019)
10 months ago
Yudong Jin 0b7e99dafa
feat: Adjust the size of pythontutor blocks (#1036)
10 months ago
Yudong Jin d3cb600910
translation: Add the initial translation of the chapter of stack and queue (#1033)
10 months ago
Yudong Jin ee485372fe
feat: Add pythontutor blocks to the rest of the chapters (#1030)
10 months ago
Yudong Jin ddd375af20
feat: Add visualizing code blocks based on the pythontutor (#1029)
10 months ago
Justin Tse 0f5b924036
Fix: recursion bug for JS and TS (#1028)
11 months ago
易春风 ad663615e6
Fix the issues of discusscomment 7949412 and 7985550 (#1027)
11 months ago
th1nk3r-ing d06503b50b
fix(cpp): cmake compile `my_list.cpp` for target list (#1025)
11 months ago
gonglja 3a559f1b60
Fix some code bugs (#1021)
11 months ago
codingonion 7ffef7e1d6
update the author info `sjinzh` -> `codingonion` (#1017)
11 months ago
Yudong Jin f68bbb0d59
Update the book based on the revised second edition (#1014)
11 months ago
易春风 1ee0a7a7bf
Fix the issue of discusscomment 7938404 (#1006)
11 months ago
Yudong Jin 6d961d38a0
Several improvements (#1002)
11 months ago
易春风 b115a2b895
Fix the issue of discuss comment 7919887 (#996)
11 months ago
Yudong Jin 46813a5247
translation: English Translation of the chapter of preface(part), introduction and complexity analysis(part) (#994)
11 months ago
krahets 9a5ab776d6 A bug fix.
11 months ago
krahets d9686e57dd Fix bubble_sort.c
11 months ago
Reanon d0f4fa69a6
fix(go): fix go code , refer to @joengtou @wcig @shenjq (#992)
11 months ago
Yudong Jin ed4de4644f
Revised the book. (#987)
11 months ago
gonglja d67c458caa
fix(codes/c): Fix bubble_sort.c (#983)
11 months ago
Yudong Jin e720aa2d24
feat: Revised the book (#978)
12 months ago
Yudong Jin b824d149cb
fix: Several code bug fixes (#973)
12 months ago
hpstory 56b20eff36
feat(csharp) .NET 8.0 code migration (#966)
12 months ago
gonglja d960c99a1f
fix: bug fixes for array_hash_map.c and counting_sort.c (#968)
12 months ago
0x6AcE c5e37c1b41
Simplify the code in array.swift (#960)
12 months ago
selear 5b6fb34a82
fix: Use .equals() to compare two strings in Java (#961)
1 year ago
krahets a01363234c Add auto-build-and-check workflow for Java.
1 year ago
Yudong Jin f7c41b6bef
fix: Update C code for compatibility with the MSVC compiler (#949)
1 year ago
krahets 49745cf2d2 Add the link of math.h lib in CMakeList.
1 year ago
liuyuxin 82f006372e
fix(Dart): Avoid using num as a variable name (#946)
1 year ago
Yudong Jin fcbaf101a4
Several bug fixes and improvements (#945)
1 year ago
易春风 9baf4a1753
Use Vec.last() method to access the top item of stack. (#942)
1 year ago
Justin Tse 2b0cf6f9ab
fix: the bug for the array binary tree from ts and js code (#936)
1 year ago
易春风 c81d5e091b
Unsize type must be greater than or equal to 0 (#931)
1 year ago
hpstory 99fd891d76
feat: add csharp sdk to dockerfile (#929)
1 year ago
Yudong Jin d5ee877fd8
feat: Add Docker for code debugging (#927)
1 year ago
krahets 5f3ad1ed3d A few bug fixes.
1 year ago
Yudong Jin 23cce00e09
Fix Python build check script. (#911)
1 year ago
krahets 355cc3a6b1 Bug fixes to C code.
1 year ago
Yudong Jin 9c28619839
feat: Reimplement the graph code for C (#901)
1 year ago
krahets db5d1d21f3 Several bug fixes.
1 year ago
Justin Tse c37f0981f0
feat: refactor top_k.ts (#899)
1 year ago
lucas f98b337144
refactor: Re-implement hanota.c (#885)
1 year ago
Yudong Jin 492a69ebca
refactor: Replace vector with array in C code (#894)
1 year ago
krahets 5385057993 Replace "结点" with "节点".
1 year ago
nuomi1 7605cab160
feature(swift): Reimplement merge_sort and top_k (#898)
1 year ago
liuyuxin 1ab83bd3ef
refactor(dart): Re-implement merge sort function (#896)
1 year ago
krahets bd8cda325e A few improvements to the C code.
1 year ago
krahets 0e10274bb4 Update arrayToTree() and treeToArray() for C.
1 year ago
krahets 5b1a219b8b Fine-tune code and texts.
1 year ago
易春风 3628b40f44
refactor: re-implement the rust codes of merge sort (#891)
1 year ago
Yudong Jin e441ee4e35
Re-implement merge sort function. (#888)
1 year ago
Yudong Jin 7822bf9cd4
feat: add top_k.c and refactor top_k.js (#889)
1 year ago
liuyuxin a8b2350705
feat(dart): Add build check for Dart (#886)
1 year ago
Yudong Jin d26e811e10
Several bug fixes and improvements. (#887)
1 year ago
52coder 436b6fa9a6
Add C++ iterator example for C++ (#837)
1 year ago
Spark 2035aa0cf1
feat: iteration & recursion in Zig (#804)
1 year ago
Yudong Jin 19023148ba
feat: Update the implementation of hash_map_open_addressing.js and .ts (#881)
1 year ago
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
Reese Wellin 88a1e4aaac
refactor(JS, TS): Improve code readability in edit_distance (#860)
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
sjinzh 0c470d19c8
upate build.zig (#874)
1 year ago
krahets 5aacf2dfe0 Improve Python code for importing modules.
1 year ago
krahets 1e49574332 Simplify struct declarations of C.
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)
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