Algorithm Posted on 2025-10-29 Edited on 2025-12-30 In Algorithm Word count in article: 15k Reading time ≈ 28 mins. 索引 1. Go 1.1. 核心数据类型 1.1.1. 整数和浮点数1.1.2. 字符串 & rune1.1.3. 变量交换1.2. 核心数据结构 1.2.1. 切片 动态数组 1.2.1.1. 创建1.2.1.2. 访问与切片1.2.1.3. 常用操作1.2.2. map 映射 哈希表 1.2.2.1. 创建 操作1.2.2.2. Key Check1.2.2.3. 删除 遍历1.2.3. 控制流 1.2.3.1. 条件判断 if1.2.3.2. 循环 for1.2.3.3. switch1.3. 常用内置库与函数 1.3.1. 排序 sort1.3.2. 数学 math1.3.3. 字符串处理 strings / strconv1.4. 常见算法模板实现 1.4.1. stack 栈1.4.2. Queue 队列1.4.3. Set 集合1.4.4. ListNode 链表1.4.5. TreeNode 二叉树1.4.6. 优先队列 / 堆 Priority Queue1.4.7. 位运算1.4.8. 输入输出1.4.9. 并查集 Union-Find (DSU)1.4.10. 图的存储 (邻接表)1.4.11. 字典树 Trie (前缀树)1.5. 常用算法技巧 1.5.1. 二分查找1.5.2. 网格遍历 (方向数组)2. Python 部分 2.1. 核心数据类型 2.1.1. 整数 (int)2.1.2. 浮点数 (float)2.1.3. 布尔值 (bool)2.1.4. 字符串 (str)2.2. 核心数据结构 2.2.1. 列表 (List) 2.2.1.1. 创建2.2.1.2. 访问2.2.1.3. 切片2.2.1.4. 列表的常用函数和操作2.2.1.5. 列表的常用方法2.2.2. 字典 (Dictionary / Hash Map) 2.2.2.1. 创建2.2.2.2. 操作2.2.3. 集合 (Set) 2.2.3.1. 创建2.2.3.2. 操作2.2.4. 字符串 (String) 2.2.4.1. 操作2.3. 控制流与逻辑 2.3.1. 条件判断 (if/elif/else)2.3.2. 循环 2.3.2.1. for循环2.3.2.2. while 循环2.3.3. 函数2.4. 通用内置函数 2.4.1. len(obj)2.4.2. sum(iterable)2.4.3. min(iterable) / max(iterable)2.4.4. sorted(iterable)2.4.5. abs(x)2.4.6. range(start, stop, step)2.4.7. 类型转换函数 2.4.7.1. int(x)2.4.7.2. str(obj)2.4.7.3. list(iterable)2.4.7.4. set(iterable)2.4.8. enumerate(iterable)2.4.9. zip()2.4.10. map(function, iterable)2.5. 核心数据类型方法 2.5.1. 字符串 (str) 2.5.1.1. str.split(sep)2.5.1.2. sep.join(list)2.5.1.3. str.find(sub)2.5.1.4. str.count(sub)2.5.1.5. str.strip()2.5.1.6. str.isdigit()2.5.2. 列表 (list) 2.5.2.1. list.index(x[, start[, end]])2.5.2.2. list.append(x)2.5.2.3. list.pop(i)2.5.2.4. list.sort(cmp=None, key=None, reverse=False)2.5.2.5. list.reverse()2.5.2.6. list.remove(obj)2.5.3. 字典 (dict) 2.5.3.1. dict.get(key, default)2.5.3.2. dict.keys()2.5.3.3. dict.values()2.5.3.4. dict.items()2.6. Collections 2.6.1. defaultdict 1. Go 1.1. 核心数据类型 Read more »
Computer Network Posted on 2025-10-28 Edited on 2025-12-30 In Computer Networks Word count in article: 24k Reading time ≈ 44 mins. 计算机网络 / Computer Network 网络全貌 / Network Overview 网络定义 / Network Definition Read more »
Nginx-enginex Posted on 2025-07-23 Edited on 2025-10-29 In Linux Word count in article: 7.6k Reading time ≈ 14 mins. 索引 1. installation2. feature 2.1. Nginx 的灵魂:事件驱动的异步非阻塞架构 2.1.1. 传统 read() + write() 方式2.1.2. sendfile() 方式2.2. Master-Worker 2.2.1. Master Process2.2.2. Worker Processes 1. installationon arch linux Read more »