krahets
9ea24e8b26
Change the operations sequence of the likedlist's insert() method.
2 years ago
krahets
300016393b
Add code source blocks to the chapter Graph.
...
Fix "函数" and "方法"
2 years ago
Yudong Jin
ddd5562b60
Fix the index out of bound check in my_list.
2 years ago
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.
2 years ago
Zero
3a2a9a996c
fix(codes/c): Fix file header error message ( #298 )
2 years ago
Gonglja
6f9d7ef64f
feat(codes/c): Fix the problem that mylist.c memory is not released
2 years ago
Gonglja
ed91372594
style(codes/c): Update my_list.c code format
2 years ago
Gonglja
78b4c4f029
fix(codes/c): Fix compilation error of `list.c` caused by renaming.
2 years ago
Gonglja
c461b13436
style(codes/c): Update code style
2 years ago
Gonglja
81cdf1d530
docs(codes/c): add function description
2 years ago
Gonglja
dceae63f38
feat(codes/c): Rename `list.c` to `my_list.c`, modify part of the code in `my_list.c`
2 years ago
Gonglja
74218bf7f0
Merge branch 'dev'
2 years ago
Yudong Jin
7ab9fd68c8
Update linked_list.c
2 years ago
Yudong Jin
750d4f502d
Update linked_list.c
2 years ago
Gonglja
78d7d07bd9
style(codes/c): update comment format
2 years ago
Gonglja
2a1b479002
feat(codes/c): add list.c cmake compile method
2 years ago
Gonglja
3970e88be2
style(codes/c): update comment format
2 years ago
Gonglja
e7bb42f552
feat(codes/c): add list.c listExtendCapacity
2 years ago
Gonglja
009191f712
feat(codes/c): add list.c
2 years ago
Gonglja
be2d109c5b
style(codes/c): update comment format
2 years ago
Gonglja
5271276f4e
feat(codes/c): add linked_list.c
2 years ago
Yudong Jin
40b5be5302
Unify the naming of the C codes.
2 years ago
reanon
24cdcd54df
feat(codes/c): add C include/ codes and modify exist C codes
2 years ago
Yudong Jin
0e49f0053a
Update the format of the file headers
...
of c, cpp, java, js, ts, swift.
2 years ago
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.
2 years ago
Meng Du
0a72d37578
create c folder and finished array
2 years ago