Commit Graph

222 Commits (9e569cf5202d622d7ffae4931c8ebbb6f4a7289d)

Author SHA1 Message Date
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
krahets 9ea24e8b26 Change the operations sequence of the likedlist's insert() method.
2 years ago
krahets 0b72fef381 Fix quick_sort.py
2 years ago
Leo.Cai d249c8802e
add chapter_sorting by dart (#366)
2 years ago
方圆 f0d8d8b1b0
feat: add ArrayDeque (#348)
2 years ago
krahets 300016393b Add code source blocks to the chapter Graph.
2 years ago
krahets 8f512c2840 Update code extractor of Java.
2 years ago
krahets ecbf2d1560 1. Add build script for Java.
2 years ago
Reanon 93ca29ca6d
feat(graph): add go codes (#314)
2 years ago
Yudong Jin 70dead5cd0 Update worst_best_time_complexity,
2 years ago
Yudong Jin 7d14c9440e Unify the function naming of
2 years ago
Yudong Jin 5eae708035 Fix array queue.
2 years ago
Yudong Jin 286b441bed Update .gitattributes
2 years ago
Yudong Jin 7f3752d306 Update README.md
2 years ago
Yudong Jin 9973822672 Merge branch 'develop'
2 years ago
Yudong Jin ddd5562b60 Fix the index out of bound check in my_list.
2 years ago
Zero 9c2caad067
Add queue array impl in C (#300)
2 years ago
Reanon da405b579d
Modify the code style of C (#299)
2 years ago
Zero 3a2a9a996c
fix(codes/c): Fix file header error message (#298)
2 years ago
Zero 3d197feb30
feat(codes/c): Update array_stack.c codes (#289)
2 years ago
Zero 0b5761eaf5
fix(codes/c): Fix unknown behavior when size is 0 or arr is a null pointer (#288)
2 years ago
Yudong Jin 1c7008289f
Merge pull request #273 from Reanon/feat-c-sort
2 years ago
Yudong Jin a0990a0f7a
Merge branch 'master' into master
2 years ago
reanon d4d11d9f7d fix(sort): add c codes
2 years ago
reanon 744a37925f feat(sort): add c codes
2 years ago
reanon f72a1c6b3f feat(sort): add c codes
2 years ago
Gonglja 6f9d7ef64f feat(codes/c): Fix the problem that mylist.c memory is not released
2 years ago
Gonglja ed91372594 style(codes/c): Update my_list.c code format
2 years ago
Yudong Jin 2336fe1d50 Update the comments in
2 years ago
Yudong Jin 8e2e95a511
Merge pull request #261 from Reanon/feat-c-heap
2 years ago
Gonglja 3698865b32 fix(codes/c): Fix linkedlist_stack.c memory release problem
2 years ago
Gonglja 78b4c4f029 fix(codes/c): Fix compilation error of `list.c` caused by renaming.
2 years ago
reanon ea0a8c271c fix(tree): add c codes
2 years ago
reanon b1c69a9cdb fix(tree): add c codes
2 years ago
reanon 00009c8e49 feat(tree): add go codes
2 years ago
reanon fe524f7a76 fix(heap): add c codes
2 years ago
reanon c8ee075d50 feat(heap): add c codes
2 years ago
Gonglja 2ff4c00fea fix(codes/c): Remove makefile
2 years ago
Gonglja c461b13436 style(codes/c): Update code style
2 years ago
Gonglja 81cdf1d530 docs(codes/c): add function description
2 years ago
Gonglja dceae63f38 feat(codes/c): Rename `list.c` to `my_list.c`, modify part of the code in `my_list.c`
2 years ago
Gonglja a94010645d feat(docs/c): add linkedlist_stack.c
2 years ago
Gonglja 74218bf7f0 Merge branch 'dev'
2 years ago
Yudong Jin 7ab9fd68c8
Update linked_list.c
2 years ago
Yudong Jin 750d4f502d
Update linked_list.c
2 years ago
Gonglja 08d715a2e9 feat(codes/c): update linkedlist_stack.c some code
2 years ago
Gonglja 78d7d07bd9 style(codes/c): update comment format
2 years ago
Gonglja 3839f47ac0 feat(codes/c): update linkedlist_stack.c some code
2 years ago
Gonglja 153846c94b feat(codes/c/): add array_stack and linkedlist_stack frame
2 years ago
Gonglja cbbb7d34b2 feat(code/c): add c code Makefile compile method
2 years ago
Gonglja 2a1b479002 feat(codes/c): add list.c cmake compile method
2 years ago
Gonglja 3970e88be2 style(codes/c): update comment format
2 years ago
Gonglja e7bb42f552 feat(codes/c): add list.c listExtendCapacity
2 years ago
Gonglja 009191f712 feat(codes/c): add list.c
2 years ago
Gonglja be2d109c5b style(codes/c): update comment format
2 years ago
Gonglja 5271276f4e feat(codes/c): add linked_list.c
2 years ago
Yudong Jin 40b5be5302 Unify the naming of the C codes.
2 years ago
Yudong Jin 6a46e38e1b
Merge pull request #228 from sjinzh/master
2 years ago
reanon 8723ca1469 feat(tree): add C codes
2 years ago
reanon 24cdcd54df feat(codes/c): add C include/ codes and modify exist C codes
2 years ago
sjinzh a667e71b20 fix bug
2 years ago
Yudong Jin 73e3452838 Add Swift language blocks to the docs.
2 years ago
Yudong Jin 0e49f0053a Update the format of the file headers
2 years ago
Yudong Jin fdb102eb16
Merge pull request #208 from sjinzh/master
2 years ago
Yudong Jin 75217d5e8b Update bubble sort (C) and insertion sort (C).
2 years ago
sjinzh ea867eadac (PR #204) update c code and doc for time_complexity
2 years ago
Yudong Jin 2899f453fb
Merge branch 'master' into master
2 years ago
MolDuM e0a3189f91
Update array.c
2 years ago
sjinzh 9e4a5fd6d8 update c code for chapter_computational_complexity, add c code to time_complexity.md
2 years ago
sjinzh 1b356ba0a2 add c code for chapter_computational_complexity
2 years ago
L-Super 23bbaf12b9
Merge branch 'krahets:master' into patch-1
2 years ago
Listening 0dda12e0ab add insertion sort content
2 years ago
Yudong Jin 34ad07bfed Fine tune
2 years ago
Listening edf1029ac4 fixed the format of the file header
2 years ago
Listening 2ee6fcfef1 add bubble sort in C code
2 years ago
Meng Du 0a72d37578 create c folder and finished array
2 years ago