一些博客链接
DP:
背包:https://www.luogu.com.cn/problemnew/solution/P1616
图论:
SPFA:http://www.sohu.com/a/244179200_100201031
树:
二叉树三种遍历方式:https://www.cnblogs.com/jpfss/p/11141956.html
树的直径:https://www.cnblogs.com/ymzjj/p/9767526.html https://blog.csdn.net/A_Bright_CH/article/details/82933942
树形背包https://blog.csdn.net/no1_terminator/article/details/77824790
树上差分https://www.cnblogs.com/ice-wing/p/7709311.html
常数优化:
https://blog.zhaojinxi.top/2020/02/03/optimize/
蓄水池抽样算法:
https://www.jianshu.com/p/7a9ea6ece2af
大佬博客:
https://me.csdn.net/qq_39972971