18 Commits

Author SHA1 Message Date
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
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
78d7d07bd9 style(codes/c): update comment format 2023-01-13 06:01:21 +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
24cdcd54df feat(codes/c): add C include/ codes and modify exist C codes 2023-01-11 00:55:21 +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
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
0a72d37578 create c folder and finished array 2022-12-21 18:57:28 +08:00