Commit graph

179 commits

Author SHA1 Message Date
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
Gonglja
cbbb7d34b2 feat(code/c): add c code Makefile compile method 2023-01-12 20:44:17 +08:00
Gonglja
2a1b479002 feat(codes/c): add list.c cmake compile method 2023-01-12 20:42:36 +08:00
Gonglja
3970e88be2 style(codes/c): update comment format 2023-01-12 20:27:18 +08:00
Gonglja
e7bb42f552 feat(codes/c): add list.c listExtendCapacity 2023-01-12 18:36:39 +08:00
Gonglja
009191f712 feat(codes/c): add list.c 2023-01-12 15:44:02 +08:00
Gonglja
be2d109c5b style(codes/c): update comment format 2023-01-12 15:16:57 +08:00
Gonglja
5271276f4e feat(codes/c): add linked_list.c 2023-01-12 11:02:39 +08:00
Yudong Jin
40b5be5302 Unify the naming of the C codes. 2023-01-12 00:31:11 +08:00
Yudong Jin
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
reanon
8723ca1469 feat(tree): add C codes 2023-01-11 01:56:08 +08:00
reanon
24cdcd54df feat(codes/c): add C include/ codes and modify exist C codes 2023-01-11 00:55:21 +08:00
sjinzh
a667e71b20 fix bug 2023-01-10 19:29:57 +08:00
Yudong Jin
73e3452838 Add Swift language blocks to the docs. 2023-01-08 19:41:05 +08:00
Yudong Jin
0e49f0053a Update the format of the file headers
of c, cpp, java, js, ts, swift.
2023-01-06 03:39:19 +08:00
Yudong Jin
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
Yudong Jin
75217d5e8b Update bubble sort (C) and insertion sort (C). 2023-01-06 03:31:58 +08:00
sjinzh
ea867eadac (PR #204) update c code and doc for time_complexity 2023-01-05 08:39:09 +08:00
Yudong Jin
2899f453fb
Merge branch 'master' into master 2023-01-05 01:11:34 +08:00
MolDuM
e0a3189f91
Update array.c
3 changes:
1. In the enlarge part, I didn't change because I didn't find a good way to deal with the local variable and the clear definition. malloc is commonly used in LeetCode so I think it is not bad for a beginner.
2. I changed the initialization of the second array to make it in the same style as C++.
3. In the enlarge part in main, I deleted the code of pointer free to match the array operations. I also changed the operate array in the later part because the enlarged array cannot be assigned to the older array name.

BTW, sorry for updating so late. Reading different version documents and book are really tiring and boring.
2023-01-04 14:56:16 +08:00
sjinzh
9e4a5fd6d8 update c code for chapter_computational_complexity, add c code to time_complexity.md 2023-01-04 08:09:22 +08:00
sjinzh
1b356ba0a2 add c code for chapter_computational_complexity 2023-01-03 21:19:11 +08:00
L-Super
23bbaf12b9
Merge branch 'krahets:master' into patch-1 2022-12-30 09:30:51 +08:00
Listening
0dda12e0ab add insertion sort content 2022-12-30 09:26:26 +08:00
Yudong Jin
34ad07bfed Fine tune 2022-12-27 20:11:22 +08:00
Listening
edf1029ac4 fixed the format of the file header 2022-12-26 13:34:50 +08:00
Listening
2ee6fcfef1 add bubble sort in C code 2022-12-26 12:43:37 +08:00
Meng Du
0a72d37578 create c folder and finished array 2022-12-21 18:57:28 +08:00