算法·理论去年基本子串字典基本子串字典是一种应用 border 与 周期有关理论 解决一些与区间 border 有关问题的数据结构。 推荐 blog: https://www.luogu.com.cn/article/ds5cz0sg (border 理论) author : command_block …