基本子串字典
基本子串字典是一种应用 border 与 周期有关理论 解决一些与区间 border 有关问题的数据结构。
推荐 blog:
https://www.luogu.com.cn/article/ds5cz0sg (border 理论) author : command_block
https://www.cnblogs.com/tzcwk/p/dbf.html (基本字串字典) author : tzc_wk
例题:
- https://www.luogu.com.cn/problem/P4482 (模板)
- https://qoj.ac/contest/1923/problem/897 (extra 模板)
- https://www.luogu.com.cn/problem/P9623
- https://www.luogu.com.cn/problem/P8006