版本比较
模板代码
正文
增加 25 行删除 19 行
12234567789101011121314151616171819202122212324252426272827282930313233343035363237383934353637384041424344454647484950455152535455505657585960556162635864## 字符串#### 字符串匹配### 字符串匹配- [manachar](https://www.luogu.com.cn/paste/gh85ifmw)- [KMP](https://www.luogu.com.cn/paste/1c1bhewm)- [字符串哈希](https://www.luogu.com.cn/paste/9dv81nwc)## 数据结构#### 线性结构### 线性结构- [单调栈](https://www.luogu.com.cn/paste/595xtoam)- [单调队列](https://www.luogu.com.cn/paste/24senruw)#### 树状结构### 树状结构- [堆](https://www.luogu.com.cn/paste/r0jrk7j6)- [并查集](https://www.luogu.com.cn/paste/mrpufgw8)- [字典树](https://www.luogu.com.cn/paste/jrdbn2hf)- [线段树](https://www.luogu.com.cn/paste/f4l5a6do)- [树状数组](https://www.luogu.com.cn/paste/fhmxdryl)- [树链剖分](https://www.luogu.com.cn/paste/2dr1ii4j)#### 平衡树### 平衡树- [AVL](https://www.luogu.com.cn/paste/bhkbdl6p)- [treap](https://www.luogu.com.cn/paste/tdsqzcbw)- [splay](https://www.luogu.com.cn/paste/fqu781xw)- [笛卡尔树](https://www.luogu.com.cn/paste/ccidd98y)## 树#### 最小生成树### 最小生成树- [Kruskal](https://www.luogu.com.cn/paste/4rj4ujkr)- [Prim](https://www.luogu.com.cn/paste/fb8sbml4)#### 最近公共祖先LCA### 最近公共祖先LCA- [倍增](https://www.luogu.com.cn/paste/9jz9tket)- [RMQ](https://www.luogu.com.cn/paste/e6i7z50o)- [Tarjan](https://www.luogu.com.cn/paste/4qf6gdq1)- [树链剖分](https://www.luogu.com.cn/paste/4r13dyvl)- [Tarjan](https://www.luogu.com.cn/paste/9s2p2laq)- [树链剖分](https://www.luogu.com.cn/paste/piknh68u)### 高级数据结构- [LCT](https://www.luogu.com.cn/paste/95i9dqtr)- [树链剖分](https://www.luogu.com.cn/paste/2dr1ii4j)## 图论#### 图论建模### 图论建模- [传递闭包](https://www.luogu.com.cn/paste/97620f0k)##### 最大流### 网络流#### 最大流- [I-SAP](https://www.luogu.com.cn/paste/unej20js)- [通用预流推进](https://www.luogu.com.cn/paste/x1hvvfv4)- [FIFO预流推进](https://www.luogu.com.cn/paste/1g72j3vn)- [最高标号预流推进](https://www.luogu.com.cn/paste/u02zk8ba)- [Gap优化最高标号预流推进](https://www.luogu.com.cn/paste/b2ul4w11)#### 图论性质- [HLPP](https://www.luogu.com.cn/paste/b2ul4w11)#### 费用流- [SSP](https://www.luogu.com.cn/paste/nvy24ub3)- [原始对偶](https://www.luogu.com.cn/paste/44ju0ch3)### 图论性质- [负环](https://www.luogu.com.cn/paste/6k35r1p0)- [割点](https://www.luogu.com.cn/paste/fv6jmke6)- [强连通分量](https://www.luogu.com.cn/paste/zodtr9aq)- [点双连通分量](https://www.luogu.com.cn/paste/x2kqkj8p)- [边双连通分量](https://www.luogu.com.cn/paste/1id1zwl9)## 基础算法#### 排序### 排序- [快速排序](https://www.luogu.com.cn/paste/fa4tmyc3)- [归并排序](https://www.luogu.com.cn/paste/v5s6v0yi)- [基数排序](https://www.luogu.com.cn/paste/3wged8uo)## 数学#### 数学工具### 数学工具- [快速幂](https://www.luogu.com.cn/paste/ju74ra5v)- [乘法逆元](https://www.luogu.com.cn/paste/8btxdmrp)- [线性筛](https://www.luogu.com.cn/paste/eun1y0ku)- [快速傅里叶变换](https://www.luogu.com.cn/paste/nzww42kb)#### 数论定理### 数论定理- [裴蜀定理](https://www.luogu.com.cn/paste/2ym883i4)
[(未完)](https://www.luogu.com.cn/user/1534256)[(](https://www.luogu.com.cn/chat?uid=1534256)[未](https://www.luogu.com.cn/ticket/new?type=report.user&related=1)[完](https://www.luogu.com.cn/ticket/new?type=report.user&related=3)[)](https://www.luogu.com.cn/user/security/passwordUpdate)