krahets
145975b335
Rename the common modules in Java, C++ and C.
2023-04-24 04:11:18 +08:00
gonglja
ac6eece4f3
Modify code and comments ( #473 )
...
* fix(codes/cpp): Memory leak fix: the space was not freed when pop removed the element.
* fix(codes/cpp): Fix access error when printArray(arr, 0)
* Update PrintUtil.hpp
* fix(codes/c): Fix some errors of cmake build
* feat(codes/c): Add hashing_search.c
* styles(codes/c): Modify function description
* styles(codes/c): Modify binary_search.c code style
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-04-22 02:03:24 +08:00
Yudong Jin
dbc4906582
Publish the C codes to the docs. ( #469 )
2023-04-18 20:21:31 +08:00
krahets
6723cdbc7e
Represent null with INT_MAX in C, C++.
2023-04-18 14:31:23 +08:00
krahets
af0f92c18d
Fine tune the C codes.
2023-04-17 22:15:06 +08:00
krahets
9a98ff8a5e
Format the C code in Clang-Format Style: Microsoft
2023-04-17 21:13:15 +08:00
Yudong Jin
1c8b7ef559
refactor: Replace 结点 with 节点 ( #452 )
...
* Replace 结点 with 节点
Update the footnotes in the figures
* Update mindmap
* Reduce the size of the mindmap.png
2023-04-09 04:32:17 +08:00
Gonglja
564ace6bc1
feat(codes/c): Add linkedlist_deque.c ( #422 )
...
* feat(codes/c): Add linkedlist_deque.c
* feat(codes/c): Update linkedlist_deque.c function comment.
* feat(codes/c): Update linkedlist_deque.c driver code.
2023-03-19 23:48:46 +08:00
krahets
516cb17775
Replace poll with pop
2023-03-13 22:39:45 +08:00
Yudong Jin
8aebbaad21
refactor: Replace poll with pop in Queue and Deque ( #415 )
2023-03-13 21:58:21 +08:00
Gonglja
2d17ee8e92
feat(codes/c): Add array_deque.c ( #412 )
...
* feat(codes/c): Add array_deque.c
* Update array_deque.c
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-03-13 20:40:25 +08:00
Gonglja
f73b6a3654
feat(codes/c): Add linkedlist_queue.c ( #413 )
...
* feat(codes/c): Add linkedlist_queue.c
* feat(codes/c): Prevent null pointer access errors in linkedlist_queue.c
* Update linkedlist_queue.c
* Update linkedlist_queue.c
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2023-03-13 20:37:58 +08:00
方圆
f0d8d8b1b0
feat: add ArrayDeque ( #348 )
...
* 双向队列: java 代码
* 双向队列: markdown 内容
* Rewrite array_deque.java
Update array_queue.java, linkedlist_deque.java
* Add ArrayDeque figures and rewrite the contents
---------
Co-authored-by: krahets <krahets@163.com>
2023-02-16 02:17:15 +08:00
krahets
300016393b
Add code source blocks to the chapter Graph.
...
Fix "函数" and "方法"
2023-02-10 01:04:26 +08:00
Yudong Jin
7d14c9440e
Unify the function naming of
...
queue from `offer()` to `push()`
2023-02-02 01:43:01 +08:00
Yudong Jin
5eae708035
Fix array queue.
2023-02-01 03:23:29 +08:00
Zero
9c2caad067
Add queue array impl in C ( #300 )
...
* feat(codes/c): Add array_queue.c initialization
* feat(codes/c): Add array_queue.c impl
* style(codes/c): Update array_queue.c code style
* style(codes/c): Update array_queue.c code style
2023-01-30 16:05:57 +08:00
Reanon
da405b579d
Modify the code style of C ( #299 )
...
* style(my_list): modify c codes.
* style(stack): modify c codes.
* style(hash): modify c codes.
2023-01-29 00:08:12 +08:00
Zero
3a2a9a996c
fix(codes/c): Fix file header error message ( #298 )
2023-01-29 00:06:34 +08:00
Zero
3d197feb30
feat(codes/c): Update array_stack.c codes ( #289 )
2023-01-28 00:52:01 +08:00
Gonglja
3698865b32
fix(codes/c): Fix linkedlist_stack.c memory release problem
2023-01-16 16:27:55 +08:00
Gonglja
c461b13436
style(codes/c): Update code style
2023-01-14 20:32:35 +08:00
Gonglja
81cdf1d530
docs(codes/c): add function description
2023-01-14 17:10:04 +08:00
Gonglja
a94010645d
feat(docs/c): add linkedlist_stack.c
2023-01-14 15:45:38 +08:00
Gonglja
08d715a2e9
feat(codes/c): update linkedlist_stack.c some code
2023-01-13 06:44:31 +08:00
Gonglja
3839f47ac0
feat(codes/c): update linkedlist_stack.c some code
2023-01-13 05:48:29 +08:00
Gonglja
153846c94b
feat(codes/c/): add array_stack and linkedlist_stack frame
2023-01-12 21:09:51 +08:00