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
Meng Du
0a72d37578
create c folder and finished array
2022-12-21 18:57:28 +08:00
Yudong Jin
1c4ba59606
Merge pull request #133 from tao363/master
...
Update array stack
2022-12-20 14:14:44 +08:00
Yudong Jin
fa3eff81d1
Update array stack.
2022-12-20 14:13:21 +08:00
Yudong Jin
9c0bef3225
Merge pull request #135 from Javesun99/patch-1
...
Update array.md
2022-12-20 13:23:42 +08:00
Yudong Jin
a8fb1a4f41
Update source codes.
2022-12-20 13:20:20 +08:00
Yudong Jin
0cca4403c1
Update pull_request_template.md
2022-12-20 00:32:34 +08:00
Ja_ve
030042e689
Update array.md
...
数组插入应该取不到索引值才对
2022-12-20 00:21:52 +08:00
Yudong Jin
ecd6e39546
Merge pull request #130 from gltianwen/patch-1
...
Update hash_collision.md
2022-12-19 22:13:16 +08:00
Yudong Jin
9afb297fb6
Update hash_collision.md
2022-12-19 22:12:35 +08:00
Yudong Jin
e3fc0ee25b
Update hash_collision.md
2022-12-19 22:10:21 +08:00
Yudong Jin
d7f3664e0a
Merge pull request #132 from a16su/master
...
修改错别字
2022-12-19 21:55:29 +08:00
tao363
fe7564d54d
master
2022-12-19 21:48:20 +08:00
a16su
2a1bb23990
修改错别字
2022-12-19 21:38:31 +08:00
Yudong Jin
bbbed5b14b
Create pull request template
...
for coding and code translation
2022-12-19 14:16:29 +08:00
Yudong Jin
0fbbdc117b
Merge pull request #131 from chengzeru/patch-1
...
Update space_complexity.md
2022-12-19 13:40:13 +08:00
Yudong Jin
7640ef8f51
Update space_complexity.md
2022-12-19 13:39:44 +08:00
chengzeru
150c40f42f
Update space_complexity.md
2022-12-19 12:56:48 +08:00
FanXue
453221b85a
Update hash_collision.md
2022-12-19 12:37:01 +08:00
Yudong Jin
5baa642a36
Merge branch 'master' of github.com:krahets/hello-algo
2022-12-18 22:54:52 +08:00
Yudong Jin
57fb315b4a
Update AVLTree.
2022-12-18 22:54:42 +08:00
Yudong Jin
ce3773093b
Fix a figure in AVLTree.
2022-12-18 22:53:04 +08:00
Yudong Jin
760b83f942
Merge pull request #128 from msk397/master
...
List using Go
2022-12-18 22:14:06 +08:00
machangxin
d9541b4609
Merge branch 'master' of https://github.com/msk397/hello-algo
2022-12-18 21:57:34 +08:00
machangxin
4fa41ce08a
fixed clear list in Go
2022-12-18 21:57:29 +08:00
Yudong Jin
be68420716
Update binary tree.
2022-12-18 15:59:34 +08:00
马赛克
e2a0fe5d2f
Merge branch 'krahets:master' into master
2022-12-18 15:51:27 +08:00
Yudong Jin
3d2d978f22
Fix a mistake in the terminology of binary tree.
2022-12-18 15:42:06 +08:00
machangxin
71c3ed70a4
Merge branch 'master' of https://github.com/msk397/hello-algo
2022-12-18 14:55:19 +08:00
machangxin
c5f7faaf15
list using go
2022-12-18 14:55:14 +08:00
Yudong Jin
5ce041e245
Update c# installation guidance.
2022-12-18 02:34:52 +08:00
Yudong Jin
9203d47d1d
Merge pull request #125 from mingXta/linked-list
...
Add C# linkedlist doc and code,modify some formatting.
2022-12-18 02:24:44 +08:00
Ming
f08621241f
Update the project to make it simpler.
2022-12-17 22:11:25 +08:00
Yudong Jin
6a380b4157
Merge pull request #126 from msk397/master
...
function PrintSlice supports Generics
2022-12-17 16:35:41 +08:00
machangxin
2305b09db4
Supplement linear_search documentation
2022-12-17 15:14:38 +08:00
machangxin
e0721dde05
function PrintSlice supports Generics
2022-12-17 14:59:21 +08:00
ming
49756d8c7e
Modify some formats.
2022-12-17 11:18:06 +08:00
Yudong Jin
2f14d71c11
Merge pull request #116 from gyt95/js_chapter_computational_complexity
...
Add JS for chapter of computational complexity
2022-12-16 20:48:00 +08:00
Yudong Jin
b937bb05a6
Merge pull request #118 from gyt95/ts_chapter_computational_complexity
...
Add TS for chapter of computational complexity
2022-12-16 20:47:29 +08:00
Yudong Jin
221ed3f7ff
Merge pull request #110 from msk397/master
...
Add C++, Python, Go code for chapter_hashing
2022-12-16 17:08:31 +08:00
Yudong Jin
b291871eeb
Merge pull request #124 from iron-irax/patch-2
...
Update intro_to_sort.md
2022-12-16 17:06:10 +08:00
iron-irax
15e964973a
Update intro_to_sort.md
...
字符缺失 : "相等素"->"相等元素"
2022-12-16 17:05:07 +08:00
machangxin
ba5b5a1f09
function PrintMap supports Generics
2022-12-16 17:03:41 +08:00
马赛克
a64f7c4d83
Merge branch 'krahets:master' into master
2022-12-16 16:57:08 +08:00
ming
0a0374efa0
Update linked_list.md to add csharp code.
2022-12-16 16:37:37 +08:00
Yudong Jin
8d6e448ba0
Merge pull request #123 from iron-irax/patch-1
...
Update hash_map.md
2022-12-16 16:36:17 +08:00
Yudong Jin
533bde6081
Update hash_map.md
2022-12-16 16:35:38 +08:00
gyt95
19d7356e8f
Add semicolon in test
2022-12-16 16:34:30 +08:00
gyt95
84caa60cd4
Update ts code and docs
2022-12-16 16:33:12 +08:00
iron-irax
67233c2200
Update hash_map.md
...
将可以实现哈希表优势查询的4种数据结构,由无序排列改为有序排列
2022-12-16 16:33:00 +08:00