Skip to content

Commit 444953a

Browse files
committed
1. 增加 https://gitee.com/huihut/interview 镜像;2. 简体中文版本使用 gitee 图片链接
#12 (comment) #12 (comment)
1 parent 3491cb2 commit 444953a

File tree

2 files changed

+76
-76
lines changed

2 files changed

+76
-76
lines changed

README.md

+38-38
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
📚 本仓库是面向 C/C++ 技术方向校招求职者、初学者的基础知识总结,包括语言、程序库、数据结构、算法、系统、网络、链接装载库等知识及面试经验、招聘、内推等信息。
1818

19-
💡 侧边目录支持方式:[📚 Docsify 文档](https://interview.huihut.com)[Github + TOC 导航](https://github.com/jawil/GayHub)[TOC预览.png](https://raw.githubusercontent.com/huihut/interview/master/images/TOC预览.png)
19+
💡 侧边目录支持方式:[📚 Docsify 文档](https://interview.huihut.com)[Github + TOC 导航](https://github.com/jawil/GayHub)[TOC预览.png](https://gitee.com/huihut/interview/raw/master/images/TOC预览.png)
2020

21-
📄 保存为 PDF 方式:使用 Chrome 浏览器打开 <a href="https://interview.huihut.com">📚 Docsify 文档</a> 页面,缩起左侧目录-右键 - 打印 - 选择目标打印机是另存为PDF - 保存([打印预览.png](https://raw.githubusercontent.com/huihut/interview/master/images/打印预览.png)
21+
📄 保存为 PDF 方式:使用 Chrome 浏览器打开 <a href="https://interview.huihut.com">📚 Docsify 文档</a> 页面,缩起左侧目录-右键 - 打印 - 选择目标打印机是另存为PDF - 保存([打印预览.png](https://gitee.com/huihut/interview/raw/master/images/打印预览.png)
2222

2323
🙏 仓库内容如有错误或改进欢迎 issue 或 pr,建议或讨论可在 [#12](https://github.com/huihut/interview/issues/12) 提出。由于本人水平有限,仓库中的知识点有来自本人原创、读书笔记、书籍、博文等,非原创均已标明出处,如有遗漏,请 issue 提出。本仓库遵循 [CC BY-NC-SA 4.0(署名 - 非商业性使用 - 相同方式共享)](https://github.com/huihut/interview/blob/master/LICENSE) 协议,转载请注明出处,不得用于商业目的。
2424

@@ -763,7 +763,7 @@ int main()
763763

764764
面向对象程序设计(Object-oriented programming,OOP)是种具有对象概念的程序编程典范,同时也是一种程序开发的抽象方针。
765765

766-
![面向对象特征](https://raw.githubusercontent.com/huihut/interview/master/images/面向对象基本特征.png)
766+
![面向对象特征](https://gitee.com/huihut/interview/raw/master/images/面向对象基本特征.png)
767767

768768
面向对象三大特征 —— 封装、继承、多态
769769

@@ -1362,7 +1362,7 @@ typedef struct {
13621362
} SqStack;
13631363
```
13641364

1365-
![](https://raw.githubusercontent.com/huihut/interview/master/images/SqStack.png)
1365+
![](https://gitee.com/huihut/interview/raw/master/images/SqStack.png)
13661366

13671367
#### 队列(Sequence Queue)
13681368

@@ -1381,15 +1381,15 @@ typedef struct {
13811381

13821382
非循环队列图片
13831383

1384-
![](https://raw.githubusercontent.com/huihut/interview/master/images/SqQueue.png)
1384+
![](https://gitee.com/huihut/interview/raw/master/images/SqQueue.png)
13851385

13861386
`SqQueue.rear++`
13871387

13881388
##### 循环队列
13891389

13901390
循环队列图片
13911391

1392-
![](https://raw.githubusercontent.com/huihut/interview/master/images/SqLoopStack.png)
1392+
![](https://gitee.com/huihut/interview/raw/master/images/SqLoopStack.png)
13931393

13941394
`SqQueue.rear = (SqQueue.rear + 1) % SqQueue.maxSize`
13951395

@@ -1408,7 +1408,7 @@ typedef struct {
14081408
} SqList;
14091409
```
14101410

1411-
![](https://raw.githubusercontent.com/huihut/interview/master/images/SqList.png)
1411+
![](https://gitee.com/huihut/interview/raw/master/images/SqList.png)
14121412

14131413

14141414
### 链式结构
@@ -1430,27 +1430,27 @@ typedef struct LNode {
14301430
14311431
链队列图片
14321432
1433-
![](https://raw.githubusercontent.com/huihut/interview/master/images/LinkQueue.png)
1433+
![](https://gitee.com/huihut/interview/raw/master/images/LinkQueue.png)
14341434
14351435
#### 线性表的链式表示
14361436
14371437
##### 单链表(Link List)
14381438
14391439
单链表图片
14401440
1441-
![](https://raw.githubusercontent.com/huihut/interview/master/images/LinkList.png)
1441+
![](https://gitee.com/huihut/interview/raw/master/images/LinkList.png)
14421442
14431443
##### 双向链表(Du-Link-List)
14441444
14451445
双向链表图片
14461446
1447-
![](https://raw.githubusercontent.com/huihut/interview/master/images/DuLinkList.png)
1447+
![](https://gitee.com/huihut/interview/raw/master/images/DuLinkList.png)
14481448
14491449
##### 循环链表(Cir-Link-List)
14501450
14511451
循环链表图片
14521452
1453-
![](https://raw.githubusercontent.com/huihut/interview/master/images/CirLinkList.png)
1453+
![](https://gitee.com/huihut/interview/raw/master/images/CirLinkList.png)
14541454
14551455
### 哈希表
14561456
@@ -1495,7 +1495,7 @@ typedef struct {
14951495
}HashTable;
14961496
```
14971497

1498-
![](https://raw.githubusercontent.com/huihut/interview/master/images/HashTable.png)
1498+
![](https://gitee.com/huihut/interview/raw/master/images/HashTable.png)
14991499

15001500
### 递归
15011501

@@ -1543,7 +1543,7 @@ typedef struct GLNode {
15431543
} *GList, GLNode;
15441544
```
15451545

1546-
![](https://raw.githubusercontent.com/huihut/interview/master/images/GeneralizedList1.png)
1546+
![](https://gitee.com/huihut/interview/raw/master/images/GeneralizedList1.png)
15471547

15481548
##### 扩展线性链表存储表示
15491549

@@ -1566,7 +1566,7 @@ typedef struct GLNode1 {
15661566
} *GList1, GLNode1;
15671567
```
15681568

1569-
![](https://raw.githubusercontent.com/huihut/interview/master/images/GeneralizedList2.png)
1569+
![](https://gitee.com/huihut/interview/raw/master/images/GeneralizedList2.png)
15701570

15711571
### 二叉树
15721572

@@ -1599,13 +1599,13 @@ typedef struct BiTNode
15991599

16001600
二叉树顺序存储图片
16011601

1602-
![](https://raw.githubusercontent.com/huihut/interview/master/images/SqBinaryTree.png)
1602+
![](https://gitee.com/huihut/interview/raw/master/images/SqBinaryTree.png)
16031603

16041604
##### 链式存储
16051605

16061606
二叉树链式存储图片
16071607

1608-
![](https://raw.githubusercontent.com/huihut/interview/master/images/LinkBinaryTree.png)
1608+
![](https://gitee.com/huihut/interview/raw/master/images/LinkBinaryTree.png)
16091609

16101610
#### 遍历方式
16111611

@@ -1650,7 +1650,7 @@ typedef struct BiTNode
16501650

16511651
平衡二叉树图片
16521652

1653-
![](https://raw.githubusercontent.com/huihut/interview/master/images/Self-balancingBinarySearchTree.png)
1653+
![](https://gitee.com/huihut/interview/raw/master/images/Self-balancingBinarySearchTree.png)
16541654

16551655
##### 最小失衡树
16561656

@@ -1994,8 +1994,8 @@ B树/B+树 |O(log<sub>2</sub>n) | |
19941994

19951995
大端小端图片
19961996

1997-
![大端序](https://raw.githubusercontent.com/huihut/interview/master/images/CPU-Big-Endian.svg.png)
1998-
![小端序](https://raw.githubusercontent.com/huihut/interview/master/images/CPU-Little-Endian.svg.png)
1997+
![大端序](https://gitee.com/huihut/interview/raw/master/images/CPU-Big-Endian.svg.png)
1998+
![小端序](https://gitee.com/huihut/interview/raw/master/images/CPU-Little-Endian.svg.png)
19991999

20002000
##### 判断大端小端
20012001

@@ -2061,7 +2061,7 @@ int main()
20612061
20622062
计算机网络体系结构:
20632063

2064-
![计算机网络体系结构](https://raw.githubusercontent.com/huihut/interview/master/images/计算机网络体系结构.png)
2064+
![计算机网络体系结构](https://gitee.com/huihut/interview/raw/master/images/计算机网络体系结构.png)
20652065

20662066
### 各层作用及协议
20672067

@@ -2140,13 +2140,13 @@ E 类 | 前五位固定为 11110,后面保留为今后所用
21402140

21412141
IP 数据报格式:
21422142

2143-
![IP 数据报格式](https://raw.githubusercontent.com/huihut/interview/master/images/IP数据报格式.png)
2143+
![IP 数据报格式](https://gitee.com/huihut/interview/raw/master/images/IP数据报格式.png)
21442144

21452145
#### ICMP 网际控制报文协议
21462146

21472147
ICMP 报文格式:
21482148

2149-
![ICMP 报文格式](https://raw.githubusercontent.com/huihut/interview/master/images/ICMP报文格式.png)
2149+
![ICMP 报文格式](https://gitee.com/huihut/interview/raw/master/images/ICMP报文格式.png)
21502150

21512151
应用:
21522152
* PING(Packet InterNet Groper,分组网间探测)测试两个主机之间的连通性
@@ -2216,11 +2216,11 @@ TCP 如何保证可靠传输:
22162216

22172217
TCP 报文结构
22182218

2219-
![TCP 报文](https://raw.githubusercontent.com/huihut/interview/master/images/TCP报文.png)
2219+
![TCP 报文](https://gitee.com/huihut/interview/raw/master/images/TCP报文.png)
22202220

22212221
TCP 首部
22222222

2223-
![TCP 首部](https://raw.githubusercontent.com/huihut/interview/master/images/TCP首部.png)
2223+
![TCP 首部](https://gitee.com/huihut/interview/raw/master/images/TCP首部.png)
22242224

22252225
TCP:状态控制码(Code,Control Flag),占 6 比特,含义如下:
22262226
* URG:紧急比特(urgent),当 `URG=1` 时,表明紧急指针字段有效,代表该封包为紧急封包。它告诉系统此报文段中有紧急数据,应尽快传送(相当于高优先级的数据), 且上图中的 Urgent Pointer 字段也会被启用。
@@ -2244,11 +2244,11 @@ TCP:状态控制码(Code,Control Flag),占 6 比特,含义如下:
22442244

22452245
UDP 报文结构
22462246

2247-
![UDP 报文](https://raw.githubusercontent.com/huihut/interview/master/images/UDP报文.png)
2247+
![UDP 报文](https://gitee.com/huihut/interview/raw/master/images/UDP报文.png)
22482248

22492249
UDP 首部
22502250

2251-
![UDP 首部](https://raw.githubusercontent.com/huihut/interview/master/images/UDP首部.png)
2251+
![UDP 首部](https://gitee.com/huihut/interview/raw/master/images/UDP首部.png)
22522252

22532253
> TCP/UDP 图片来源于:<https://github.com/JerryC8080/understand-tcp-udp>
22542254
@@ -2285,7 +2285,7 @@ TCP 是一个基于字节流的传输服务(UDP 基于报文的),“流”
22852285

22862286
利用可变窗口进行流量控制
22872287

2288-
![](https://raw.githubusercontent.com/huihut/interview/master/images/利用可变窗口进行流量控制举例.png)
2288+
![](https://gitee.com/huihut/interview/raw/master/images/利用可变窗口进行流量控制举例.png)
22892289

22902290
#### TCP 拥塞控制
22912291

@@ -2302,17 +2302,17 @@ TCP 是一个基于字节流的传输服务(UDP 基于报文的),“流”
23022302

23032303
TCP的拥塞控制图
23042304

2305-
![](https://raw.githubusercontent.com/huihut/interview/master/images/TCP拥塞窗口cwnd在拥塞控制时的变化情况.png)
2306-
![](https://raw.githubusercontent.com/huihut/interview/master/images/快重传示意图.png)
2307-
![](https://raw.githubusercontent.com/huihut/interview/master/images/TCP的拥塞控制流程图.png)
2305+
![](https://gitee.com/huihut/interview/raw/master/images/TCP拥塞窗口cwnd在拥塞控制时的变化情况.png)
2306+
![](https://gitee.com/huihut/interview/raw/master/images/快重传示意图.png)
2307+
![](https://gitee.com/huihut/interview/raw/master/images/TCP的拥塞控制流程图.png)
23082308

23092309
#### TCP 传输连接管理
23102310

2311-
> 因为 TCP 三次握手建立连接、四次挥手释放连接很重要,所以附上《计算机网络(第 7 版)-谢希仁》书中对此章的详细描述:<https://raw.githubusercontent.com/huihut/interview/master/images/TCP-transport-connection-management.png>
2311+
> 因为 TCP 三次握手建立连接、四次挥手释放连接很重要,所以附上《计算机网络(第 7 版)-谢希仁》书中对此章的详细描述:<https://gitee.com/huihut/interview/raw/master/images/TCP-transport-connection-management.png>
23122312
23132313
##### TCP 三次握手建立连接
23142314

2315-
![UDP 报文](https://raw.githubusercontent.com/huihut/interview/master/images/TCP三次握手建立连接.png)
2315+
![UDP 报文](https://gitee.com/huihut/interview/raw/master/images/TCP三次握手建立连接.png)
23162316

23172317
【TCP 建立连接全过程解释】
23182318

@@ -2333,11 +2333,11 @@ TCP的拥塞控制图
23332333
23342334
【答案三】为了防止已失效的连接请求报文段突然又传送到了服务端,因而产生错误。
23352335

2336-
> [《计算机网络(第 7 版)-谢希仁》](https://raw.githubusercontent.com/huihut/interview/master/images/TCP-transport-connection-management.png)
2336+
> [《计算机网络(第 7 版)-谢希仁》](https://gitee.com/huihut/interview/raw/master/images/TCP-transport-connection-management.png)
23372337
23382338
##### TCP 四次挥手释放连接
23392339

2340-
![UDP 报文](https://raw.githubusercontent.com/huihut/interview/master/images/TCP四次挥手释放连接.png)
2340+
![UDP 报文](https://gitee.com/huihut/interview/raw/master/images/TCP四次挥手释放连接.png)
23412341

23422342
【TCP 释放连接全过程解释】
23432343

@@ -2370,7 +2370,7 @@ TCP的拥塞控制图
23702370

23712371
TCP 有限状态机图片
23722372

2373-
![TCP 的有限状态机](https://raw.githubusercontent.com/huihut/interview/master/images/TCP的有限状态机.png)
2373+
![TCP 的有限状态机](https://gitee.com/huihut/interview/raw/master/images/TCP的有限状态机.png)
23742374

23752375
### 应用层
23762376

@@ -2468,7 +2468,7 @@ TRACE | 回显服务器收到的请求,主要用于测试或诊断
24682468

24692469
> [Linux Socket 编程(不限 Linux)](https://www.cnblogs.com/skynet/archive/2010/12/12/1903949.html)
24702470
2471-
![Socket 客户端服务器通讯](https://raw.githubusercontent.com/huihut/interview/master/images/socket客户端服务器通讯.jpg)
2471+
![Socket 客户端服务器通讯](https://gitee.com/huihut/interview/raw/master/images/socket客户端服务器通讯.jpg)
24722472

24732473

24742474
#### Socket 中的 read()、write() 函数
@@ -3077,11 +3077,11 @@ LoadLibrary 与 FreeLibrary 流程图
30773077

30783078
##### LoadLibrary
30793079

3080-
![WindowsLoadLibrary](https://raw.githubusercontent.com/huihut/interview/master/images/WindowsLoadLibrary.png)
3080+
![WindowsLoadLibrary](https://gitee.com/huihut/interview/raw/master/images/WindowsLoadLibrary.png)
30813081

30823082
##### FreeLibrary
30833083

3084-
![WindowsFreeLibrary](https://raw.githubusercontent.com/huihut/interview/master/images/WindowsFreeLibrary.png)
3084+
![WindowsFreeLibrary](https://gitee.com/huihut/interview/raw/master/images/WindowsFreeLibrary.png)
30853085

30863086
#### DLL 库的编写(导出一个 DLL 模块)
30873087

0 commit comments

Comments
 (0)