60 Commits

Author SHA1 Message Date
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
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
3a2a9a996c fix(codes/c): Fix file header error message (#298) 2023-01-29 00:06:34 +08:00
3d197feb30 feat(codes/c): Update array_stack.c codes (#289) 2023-01-28 00:52:01 +08:00
0b5761eaf5 fix(codes/c): Fix unknown behavior when size is 0 or arr is a null pointer (#288)
Co-authored-by: Yudong Jin <krahets@163.com>
2023-01-21 01:16:22 +08:00
1c7008289f Merge pull request #273 from Reanon/feat-c-sort
Add quick_sort/radix_sort to C code.
2023-01-18 19:19:03 +08:00
a0990a0f7a Merge branch 'master' into master 2023-01-18 19:14:38 +08:00
d4d11d9f7d fix(sort): add c codes 2023-01-18 14:20:42 +08:00
744a37925f feat(sort): add c codes 2023-01-18 14:15:27 +08:00
f72a1c6b3f feat(sort): add c codes 2023-01-18 14:14:57 +08:00
6f9d7ef64f feat(codes/c): Fix the problem that mylist.c memory is not released 2023-01-18 08:15:27 +08:00
ed91372594 style(codes/c): Update my_list.c code format 2023-01-18 08:14:19 +08:00
2336fe1d50 Update the comments in
binary_search_tree and avl_tree.
2023-01-17 01:53:12 +08:00
8e2e95a511 Merge pull request #261 from Reanon/feat-c-heap
feat(heap): add c codes.
2023-01-17 00:37:11 +08:00
3698865b32 fix(codes/c): Fix linkedlist_stack.c memory release problem 2023-01-16 16:27:55 +08:00
78b4c4f029 fix(codes/c): Fix compilation error of list.c caused by renaming. 2023-01-16 16:16:38 +08:00
ea0a8c271c fix(tree): add c codes 2023-01-16 10:38:25 +08:00
b1c69a9cdb fix(tree): add c codes 2023-01-16 10:35:59 +08:00
00009c8e49 feat(tree): add go codes 2023-01-16 10:20:56 +08:00
fe524f7a76 fix(heap): add c codes 2023-01-16 10:17:55 +08:00
c8ee075d50 feat(heap): add c codes 2023-01-16 10:03:31 +08:00
2ff4c00fea fix(codes/c): Remove makefile 2023-01-14 20:33:58 +08:00
c461b13436 style(codes/c): Update code style 2023-01-14 20:32:35 +08:00
81cdf1d530 docs(codes/c): add function description 2023-01-14 17:10:04 +08:00
dceae63f38 feat(codes/c): Rename list.c to my_list.c, modify part of the code in my_list.c 2023-01-14 16:58:38 +08:00
a94010645d feat(docs/c): add linkedlist_stack.c 2023-01-14 15:45:38 +08:00
74218bf7f0 Merge branch 'dev' 2023-01-14 15:08:22 +08:00
7ab9fd68c8 Update linked_list.c 2023-01-13 16:19:04 +08:00
750d4f502d Update linked_list.c 2023-01-13 16:18:05 +08:00
08d715a2e9 feat(codes/c): update linkedlist_stack.c some code 2023-01-13 06:44:31 +08:00
78d7d07bd9 style(codes/c): update comment format 2023-01-13 06:01:21 +08:00
3839f47ac0 feat(codes/c): update linkedlist_stack.c some code 2023-01-13 05:48:29 +08:00
153846c94b feat(codes/c/): add array_stack and linkedlist_stack frame 2023-01-12 21:09:51 +08:00
cbbb7d34b2 feat(code/c): add c code Makefile compile method 2023-01-12 20:44:17 +08:00
2a1b479002 feat(codes/c): add list.c cmake compile method 2023-01-12 20:42:36 +08:00
3970e88be2 style(codes/c): update comment format 2023-01-12 20:27:18 +08:00
e7bb42f552 feat(codes/c): add list.c listExtendCapacity 2023-01-12 18:36:39 +08:00
009191f712 feat(codes/c): add list.c 2023-01-12 15:44:02 +08:00
be2d109c5b style(codes/c): update comment format 2023-01-12 15:16:57 +08:00
5271276f4e feat(codes/c): add linked_list.c 2023-01-12 11:02:39 +08:00
40b5be5302 Unify the naming of the C codes. 2023-01-12 00:31:11 +08:00
6a46e38e1b Merge pull request #228 from sjinzh/master
add zig codes for Section 'Space Complexity' and 'Space Time Tradeoff'
2023-01-11 14:32:59 +08:00
8723ca1469 feat(tree): add C codes 2023-01-11 01:56:08 +08:00
24cdcd54df feat(codes/c): add C include/ codes and modify exist C codes 2023-01-11 00:55:21 +08:00
a667e71b20 fix bug 2023-01-10 19:29:57 +08:00
73e3452838 Add Swift language blocks to the docs. 2023-01-08 19:41:05 +08:00
0e49f0053a Update the format of the file headers
of c, cpp, java, js, ts, swift.
2023-01-06 03:39:19 +08:00
fdb102eb16 Merge pull request #208 from sjinzh/master
(PR #204) update c code and doc for time_complexity
2023-01-06 03:34:42 +08:00
75217d5e8b Update bubble sort (C) and insertion sort (C). 2023-01-06 03:31:58 +08:00
ea867eadac (PR #204) update c code and doc for time_complexity 2023-01-05 08:39:09 +08:00