Commit Graph

184 Commits (1e49574332b7fbda25359b9ec2391945b1758933)

Author SHA1 Message Date
Yudong Jin 9563965a20
Add the codes of hashmap (#553)
1 year ago
krahets d3e597af94 Update cmakelists.txt
1 year ago
Yudong Jin a111b94f23
feat: Add the section of Top-K problem (#551)
1 year ago
krahets 6377e3316a Fix a comment in my_list.xx
1 year ago
krahets b39e79be85 Fix remove() in binary search tree.
2 years ago
Yudong Jin ee716a2c23
feat: Add the section of heap sort. (#516)
2 years ago
krahets dc49fdf75e Polish some contents.
2 years ago
Yudong Jin 77b4f4c400
Add the section of selection sort. (#513)
2 years ago
krahets 5dff1bd0e8 Update the insertion sort.
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
Yudong Jin b5eb9ca271
feat: Add the section of binary search edge. (#508)
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
Yudong Jin 67d647ab59
feat: Add the section of n queens problem (#483)
2 years ago
krahets bc77a81330 Update the codes of backtracking.
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
Yudong Jin c6eecfd0dc
feat: Add the section of permutations problem. (#476)
2 years ago
krahets de579aa3f4 Fix the file headers.
2 years ago
krahets bad759b4f8 Rename the naming of the coding files
2 years ago
krahets 6723cdbc7e Represent null with INT_MAX in C, C++.
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
krahets 0ade8d87ad Update the page tree
2 years ago
krahets f5b8978330 Add cpp code for the backtrack algorithm.
2 years ago
Gonglja 8bc41bc013
Add space_complexit under C and fix memory leak under CPP (#456)
2 years ago
krahets f7ae9c8a02 Fix the return type of binary search tree and avl tree
2 years ago
krahets 9c9c8b7574 Format C++ codes in Clang-Format Style: Microsoft
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
Yudong Jin 830ec69d39
Add bucket_sort.cpp and bucket_sort.py (#446)
2 years ago
Yudong Jin 34a1bca627
Add the section of radix sort. (#441)
2 years ago
Yudong Jin 65e47b0748
Add Python and C++ code for the counting sort. (#436)
2 years ago
Gonglja b9e97d3823
Fix access error when printArray(arr, 0) (#432)
2 years ago
Gonglja 0659c54e77
Fix memory leaks (#433)
2 years ago
Gonglja 3173d02538
fix(codes/cpp): Memory leak fix: the space was not freed when pop removed the element. (#423)
2 years ago
krahets 28f3c98697 Fix avl_tree.cpp
2 years ago
krahets 0840bc2043 Fix the deconstructor of linkedlist_queue.cpp
2 years ago
krahets 518b9efabc Update a comment in array_hash_map
2 years ago
krahets d5afd93571 Update array_hash_map
2 years ago
krahets d37d704b18 Update CMakeLists.txt for C++
2 years ago
Gonglja 567497a6b8
Add cpp codes cmake build method (#419)
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
krahets 82bbdd444d Update the chapter of stack and queue.
2 years ago
Yudong Jin 33c797efeb
feat: Add C++ code for the graph bfs and dfs (#401)
2 years ago
Yudong Jin 4f941e3d99
Add C++ code for the linkedlist deque and array deque (#400)
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
方圆 f0d8d8b1b0
feat: add ArrayDeque (#348)
2 years ago
krahets 7238c560d1 Update binary_tree_bfs codes
2 years ago
krahets 8e0080f003 Update graph codes
2 years ago
Leo.Cai d3ea84ba97
Add graph c++ code (#357)
2 years ago
LoneRanger 8d8b713865
fix poll() in my_heap.cpp (#360)
2 years ago
krahets 300016393b Add code source blocks to the chapter Graph.
2 years ago
krahets 6dc21691ed Add build scripts for C# and
2 years ago
krahets 05f0054005 Add build script for JS and TS codes.
2 years ago
krahets 0407cc720c Fix Repo
2 years ago
krahets 8f512c2840 Update code extractor of Java.
2 years ago
krahets ecbf2d1560 1. Add build script for Java.
2 years ago
LoneRanger 7f4243ab77
fix Pointer recycle (#346)
2 years ago
Yudong Jin f14e3e4c57 Update linear_search and hashing_search.
2 years ago
LoneRanger 0b16a9f6a9
Part Heap : Code Translation into C++ (my_heap.cpp) (#321)
2 years ago
Yudong Jin e1abbcbf23 Update #320
2 years ago
Leo.Cai e5ae3e1cab
add avl tree and heap part cpp code (#320)
2 years ago
Yudong Jin 6ca5fa7d93 Update heap.cpp
2 years ago
LoneRanger 8e9eecd610
Part Heap : Code Translation into C++ (heap.cpp) (#285)
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 ddd5562b60 Fix the index out of bound check in my_list.
2 years ago
Yudong Jin 2336fe1d50 Update the comments in
2 years ago
Yudong Jin 5f0ae848c4 Update medianThree() in quick_sort.
2 years ago
Yudong Jin 3e19205c84 Update a comment in binary_search_tree.
2 years ago
Yudong Jin bb657f9517 Add destructors to the C++ codes.
2 years ago
ubuntu 08afeb2981 fix(codes/cpp): fix worst_best_time_complexity.cpp compile error.
2 years ago
Yudong Jin daa28be3e4
Merge branch 'master' into binary_search_tree
2 years ago
龚国玮 96d54bff3a test(binary_search_tree): update test param all the language
2 years ago
Yudong Jin d6d6a16c7e Update the access() function of linked_list
2 years ago
Yudong Jin 4d01436138 Remove avl_tree.cpp to match the latest docs.
2 years ago
Yudong Jin dcc3b2e35b Optimize arrToTree function
2 years ago
dumingyu 98d1244e32 fix(codes/cpp): add climits headers
2 years ago
Yudong Jin 0e49f0053a Update the format of the file headers
2 years ago
Yudong Jin 3302354909 Update cpp codes for the stack and the queue.
2 years ago
Yudong Jin 410c5d6b62 Free memory after removing
2 years ago
GN-Yu a03353f8e2
Update merge_sort.cpp
2 years ago
Yudong Jin eeb0aec2f1
Merge pull request #166 from L-Super/patch-1
2 years ago
Yudong Jin 34ad07bfed Fine tune
2 years ago
Yudong Jin 449258f0b0 Add the code to the docs.
2 years ago
Yudong Jin f39636cb63 Update the structure of the chapter
2 years ago
Yudong Jin f3ef226874 Remove the spaces between “ ” and 中文 aside.
2 years ago
Yudong Jin 7283bbaf6f Update the chapter of stack and queue.
2 years ago
Yudong Jin 1c4ba59606
Merge pull request #133 from tao363/master
2 years ago
Yudong Jin fa3eff81d1 Update array stack.
2 years ago
Yudong Jin a8fb1a4f41 Update source codes.
2 years ago