Update .gitignore

Add build script for Zig.
This commit is contained in:
krahets
2023-02-09 22:57:25 +08:00
parent 3465b300e9
commit ec25970e8e
30 changed files with 226 additions and 532 deletions
+2 -2
View File
@@ -108,7 +108,7 @@ $$
=== "Zig"
```zig title="binary_search.zig"
[class]{}-[func]{binarySearch}
```
### “左闭右开”实现
@@ -172,7 +172,7 @@ $$
=== "Zig"
```zig title="binary_search.zig"
[class]{}-[func]{binarySearch1}
```
### 两种表示对比
+2 -2
View File
@@ -73,7 +73,7 @@ comments: true
=== "Zig"
```zig title="hashing_search.zig"
[class]{}-[func]{hashingSearchArray}
```
再比如,如果我们想要给定一个目标结点值 `target` ,获取对应的链表结点对象,那么也可以使用哈希查找实现。
@@ -137,7 +137,7 @@ comments: true
=== "Zig"
```zig title="hashing_search.zig"
[class]{}-[func]{hashingSearchLinkedList}
```
## 10.3.2. 复杂度分析
+2 -2
View File
@@ -69,7 +69,7 @@ comments: true
=== "Zig"
```zig title="linear_search.zig"
[class]{}-[func]{linearSearchArray}
```
再比如,我们想要在给定一个目标结点值 `target` ,返回此结点对象,也可以在链表中进行线性查找。
@@ -131,7 +131,7 @@ comments: true
=== "Zig"
```zig title="linear_search.zig"
[class]{}-[func]{linearSearchLinkedList}
```
## 10.1.2. 复杂度分析