This commit is contained in:
krahets
2023-02-11 18:21:44 +08:00
parent 76dcc6cbd3
commit 58ad2290b0
20 changed files with 418 additions and 219 deletions
+9 -6
View File
@@ -70,7 +70,8 @@ comments: true
=== "C"
```c title="array.c"
int arr[5] = { 0 }; // { 0, 0, 0, 0, 0 }
int nums[5] = { 1, 3, 2, 5, 4 };
```
=== "C#"
@@ -195,7 +196,7 @@ elementAddr = firtstElementAddr + elementLength * elementIndex
=== "C"
```c title="array.c"
[class]{}-[func]{randomAccess}
```
=== "C#"
@@ -348,7 +349,7 @@ elementAddr = firtstElementAddr + elementLength * elementIndex
=== "C"
```c title="array.c"
[class]{}-[func]{extend}
```
=== "C#"
@@ -541,7 +542,9 @@ elementAddr = firtstElementAddr + elementLength * elementIndex
=== "C"
```c title="array.c"
[class]{}-[func]{insert}
[class]{}-[func]{removeItem}
```
=== "C#"
@@ -720,7 +723,7 @@ elementAddr = firtstElementAddr + elementLength * elementIndex
=== "C"
```c title="array.c"
[class]{}-[func]{traverse}
```
=== "C#"
@@ -863,7 +866,7 @@ elementAddr = firtstElementAddr + elementLength * elementIndex
=== "C"
```c title="array.c"
[class]{}-[func]{find}
```
=== "C#"
+4 -2
View File
@@ -453,7 +453,9 @@ comments: true
=== "C"
```c title="linked_list.c"
[class]{}-[func]{insertNode}
[class]{}-[func]{removeNode}
```
=== "C#"
@@ -614,7 +616,7 @@ comments: true
=== "C"
```c title="linked_list.c"
[class]{}-[func]{access}
```
=== "C#"
@@ -770,7 +772,7 @@ comments: true
=== "C"
```c title="linked_list.c"
[class]{}-[func]{findNode}
```
=== "C#"
+1 -1
View File
@@ -1323,7 +1323,7 @@ comments: true
=== "C"
```c title="my_list.c"
[class]{myList}-[func]{}
```
=== "C#"