正文
增加 85 行删除 3 行
6 行未改动7891011121314155 行未改动21222324252627287 行未改动36373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990916 行未改动989910010110210310410510610710 行未改动1181191201211221231241251261271281291301311321331346 行未改动1. 原题机https://yuantiji.ac/zh1. CPRet:编程竞赛题目检索https://cpret.online/### 一、算法1. 贪心- 《贪心》https://www.luogu.com.cn/article/x93ar35x1. 二分5 行未改动- 《浅谈各类排序算法》https://www.luogu.com.cn/article/n6pxq6h7- 《基数排序——你值得拥有》https://www.luogu.com.cn/article/hxn36eeh- 《浅析 std::sort、std::stable_sort 和 std::partial_sort 的实现细节》https://www.luogu.com.cn/article/ut9ko5n2- 《P1177【模板】排序 题解》(快排)https://www.luogu.com.cn/article/r0v8ay6p7 行未改动- 《构造题方法总汇》https://www.luogu.com.cn/article/o9mj50m1- 《浅谈异或构造——异或类构造题的小技巧》https://www.luogu.com.cn/article/r1d9tbjm1. 分块- 《分块学习笔记》https://www.luogu.me/article/s1u3zg27### 二、图论1. 杂- 《图论的小技巧以及扩展》https://www.luogu.com.cn/article/iteu0ot41. 最短路问题- 《dijkstra 详解》https://www.luogu.com.cn/article/s581e0wm- 《SPFA 算法教学》https://www.luogu.com.cn/article/v4dm1m6a1. 二分图- 《二分图的最大匹配、完美匹配和匈牙利算法》https://www.renfei.org/blog/bipartite-matching.html1. 最近公共祖先(LCA)- 《浅析最近公共祖先(LCA)》https://www.luogu.com.cn/article/vjv73j9c1. 其它- 《一类图论问题》https://www.luogu.com.cn/article/3wrdor73### 三、数据结构1. 树状数组- 《Senior Data Structure 高级数据结构初步·详解分块思想与树状数组》https://www.luogu.com.cn/article/nd667cc7- 《高级树状数组——区间修改区间查询、二位树状数组》https://www.cnblogs.com/RabbitHu/p/BIT.html1. 线段树- 《Senior Data Structure · 浅谈线段树(Segment Tree)》https://www.luogu.com.cn/article/2uwf53xs1. 字典树 & 哈希- 《字符串学习笔记·哈希(HASH)与字典树(Trie)》https://www.luogu.com.cn/article/lxwwcykj- 《字符串哈希 学习笔记》https://www.luogu.com.cn/article/rnqvzugt### 四、字符串哈希、字典树 见数据结构。1. 杂- 《再学串串》系列https://www.luogu.com.cn/article/73yg70al1. 字符串匹配(KMP)- 《字符串学习笔记 · 浅析KMP——单模式串匹配算法》https://www.luogu.com.cn/article/qsgkbcp0### 五、数学及数论1. 杂- 《数论复习笔记》https://www.luogu.com.cn/article/a81pk9hb### 六、搜索1. 杂- 《搜索》https://www.luogu.com.cn/article/7r5r5hn06 行未改动https://www.luogu.com.cn/article/zayzgffd1. 其它- 《【算法】折半搜索》https://www.luogu.com.cn/article/7hh8brml- 《对抗搜索与Alpha-Beta剪枝》https://www.luogu.com.cn/article/u8nbs2px### 七、动态规划及优化1. 杂- 《再谈动态规划的正确打开方式:从记忆化搜索到动态规划》https://www.luogu.com.cn/article/jf1b3p9y10 行未改动- 《背包问题模板》https://www.luogu.com.cn/article/m6flqa1h- 《背包问题九讲》https://www.kancloud.cn/kancloud/pack/701251. 树形- 《树形 DP 教程:从递归视角彻底搞懂树上 DP》https://www.luogu.com.cn/article/dhocbx2i1. 计数- 《浅谈排列 DP 计数》https://www.luogu.com.cn/article/xt2szowt1. 状压- 《学习笔记:状压 DP》https://www.luogu.com.cn/article/a47k0ffs### 八、其它杂论1. STL- 《STL 与奇技淫巧——考场上的好帮手》https://www.luogu.com.cn/article/3miq3j9y6 行未改动7891011121314155 行未改动212223242526272829307 行未改动38394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481496 行未改动15615715815916016116216316416516616716816917017110 行未改动1821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152166 行未改动1. 原题机https://yuantiji.ac/zh1. CPRet:编程竞赛题目检索https://cpret.online/### 一、算法以及不知道放哪的1. 贪心- 《贪心》https://www.luogu.com.cn/article/x93ar35x1. 二分5 行未改动- 《浅谈各类排序算法》https://www.luogu.com.cn/article/n6pxq6h7- 《基数排序——你值得拥有》https://www.luogu.com.cn/article/hxn36eeh- 《浅析 sort》https://www.luogu.com.cn/article/qr0jnk7l- 《浅析 std::sort、std::stable_sort 和 std::partial_sort 的实现细节》https://www.luogu.com.cn/article/ut9ko5n2- 《P1177【模板】排序 题解》(快排)https://www.luogu.com.cn/article/r0v8ay6p7 行未改动- 《构造题方法总汇》https://www.luogu.com.cn/article/o9mj50m1- 《浅谈异或构造——异或类构造题的小技巧》https://www.luogu.com.cn/article/r1d9tbjm1. 分块及相关- 《分块学习笔记》https://www.luogu.me/article/s1u3zg27- 《浅谈基础根号算法——分块》https://www.luogu.com.cn/article/yg4yf9rt- 《浅 谈 分 块》https://www.luogu.com.cn/article/shutvogf1. 扫描线- 《浅析扫描线》https://www.luogu.com.cn/article/miltas6a### 二、图论1. 杂- 《图论的小技巧以及扩展》https://www.luogu.com.cn/article/iteu0ot41. 最短路问题- 《最短路径算法学习指南》https://www.luogu.me/article/ibmgjr4u- 《dijkstra 详解》https://www.luogu.com.cn/article/s581e0wm- 《SPFA 算法教学》https://www.luogu.com.cn/article/v4dm1m6a1. 二分图- 《二分图的最大匹配、完美匹配和匈牙利算法》https://www.renfei.org/blog/bipartite-matching.html- 《匈牙利与 KM 算法》https://www.luogu.com.cn/article/13odgrxn1. 最近公共祖先(LCA)- 《浅析最近公共祖先(LCA)》https://www.luogu.com.cn/article/vjv73j9c1. 连通分量- 《初探 tarjan 算法(求强连通分量)》https://www.luogu.com.cn/article/mdbv6kjl- 《题解:P3387 【模板】缩点》https://www.luogu.com.cn/article/aqzxvg3z1. 其它- 《一类图论问题》https://www.luogu.com.cn/article/3wrdor73- 《图的着色相关问题》https://www.luogu.com.cn/article/wfkr68vg### 三、数据结构1. 栈- 《题解 P5788 【【模板】单调栈】》https://www.luogu.com.cn/article/cli4i5f41. 堆- 《浅析基础数据结构-二叉堆》https://www.luogu.com.cn/article/hjnjhmnc1. 并查集- 《浅谈并查集优化》https://www.luogu.com.cn/article/tc3vmo6m1. 树状数组- 《Senior Data Structure 高级数据结构初步·详解分块思想与树状数组》https://www.luogu.com.cn/article/nd667cc7- 《浅谈树状数组的优化及扩展》https://www.luogu.com.cn/article/790vjft4- 《高级树状数组——区间修改区间查询、二位树状数组》https://www.cnblogs.com/RabbitHu/p/BIT.html1. 线段树- 《Senior Data Structure · 浅谈线段树(Segment Tree)》https://www.luogu.com.cn/article/2uwf53xs1. 字典树 & 哈希- 《字符串学习笔记·哈希(HASH)与字典树(Trie)》https://www.luogu.com.cn/article/lxwwcykj- 《Trie 与可持久化 Trie》https://www.luogu.com.cn/article/d2od96mo- 《字符串哈希 学习笔记》https://www.luogu.com.cn/article/rnqvzugt### 四、字符串哈希、字典树 见数据结构。1. 杂- 《再学串串》系列https://www.luogu.com.cn/article/73yg70al1. 字符串匹配(KMP)- 《详解KMP算法(上)》https://www.luogu.com.cn/article/zdo0fpf2- 《字符串学习笔记 · 浅析KMP——单模式串匹配算法》https://www.luogu.com.cn/article/qsgkbcp0### 五、数学及数论1. 杂- 《数论复习笔记》https://www.luogu.com.cn/article/a81pk9hb- 《走进数论——神奇的勾股数组》https://www.luogu.com.cn/article/iwoy1ehk- 《浅谈数学归纳法》https://www.luogu.com.cn/article/va9qzuu11. 逆元- 《【x义x讲坛】浅谈模质数意义下的乘法逆元》https://www.luogu.com.cn/article/pia2owa01. 素数筛- 《欧拉筛筛素数》https://www.luogu.com.cn/article/mpwf8pd31. 快速幂- 《快速幂和取余运算》https://www.luogu.com.cn/article/cbqu9w4v1. 矩阵- 《从零开始的矩阵乘法》https://www.luogu.com.cn/article/7i0g9zqt1. 其它- 《斐波那契数列》https://www.luogu.com.cn/article/qfm7ksq0- 《初探容斥原理》https://www.luogu.com.cn/article/hpjf1clj- 《OI 中你可能会用到的一些不等式及其证明》https://www.luogu.com.cn/article/jp5nzhsl### 六、搜索1. 杂- 《搜索》https://www.luogu.com.cn/article/7r5r5hn06 行未改动https://www.luogu.com.cn/article/zayzgffd1. 其它- 《【算法】折半搜索》https://www.luogu.com.cn/article/7hh8brml- 《A* 算法浅谈》https://www.luogu.com.cn/article/vsqg44k6- 《对抗搜索与Alpha-Beta剪枝》https://www.luogu.com.cn/article/u8nbs2px- 《浅谈玄学算法——模拟退火》https://www.luogu.com.cn/article/2mnd34y4- 《再谈模拟退火》https://www.luogu.com.cn/article/b2recz8n### 七、动态规划及优化1. 杂- 《再谈动态规划的正确打开方式:从记忆化搜索到动态规划》https://www.luogu.com.cn/article/jf1b3p9y10 行未改动- 《背包问题模板》https://www.luogu.com.cn/article/m6flqa1h- 《背包问题九讲》https://www.kancloud.cn/kancloud/pack/701251. 区间- 《区间DP详解》https://www.luogu.com.cn/article/c06rlxkk1. 树形- 《树形 DP 教程:从递归视角彻底搞懂树上 DP》https://www.luogu.com.cn/article/dhocbx2i- 《[学习笔记]换根 dp》https://www.luogu.com.cn/article/c8ov8ekf1. 计数- 《浅谈排列 DP 计数》https://www.luogu.com.cn/article/xt2szowt1. 状压- 《学习笔记:状压 DP》https://www.luogu.com.cn/article/a47k0ffs1. 优化- 《【学习笔记】动态规划—各种 DP 优化》https://www.cnblogs.com/Xing-Ling/p/11317315.html### 八、其它杂论1. STL- 《STL 与奇技淫巧——考场上的好帮手》https://www.luogu.com.cn/article/3miq3j9y1. 博弈论- 《基础博弈论学习笔记》https://www.luogu.com.cn/article/4xkq4bs9- 《简单食用的博弈论》https://www.luogu.com.cn/article/0x9gsb43## 考场https://www.luogu.me/article/js49q0vkhttps://www.luogu.me/article/5vdoab0y