计数离散(非)交叉子串
密码学与安全
2026-01-09 v3
摘要
设 为长度为 的字符串。计数跨越位置的因子问题——来自教材 ``125 Problems in Text Algorithms'' 中的第 64 题 [Crochemore, Leqroc, and Rytter, 2021],要求计数包含(resp. 不包含)位置 的子串个数 (resp. )。该教材提供的解答在单个位置 上以 时间计算 和 ,因此直接应用需要对 中所有位置 采用 时间。其解决方案是为常数大小字母表设计的。本文提出了新的算法,在一般有序字母表上以 总时间计算 ,在线性可排序字母表上以 总时间计算 ,适用于 中所有位置 。
引用
@article{arxiv.2506.22727,
title = {Convergent Privacy Framework for Multi-layer GNNs through Contractive Message Passing},
author = {Yu Zheng and Chenang Li and Zhou Li and Qingsong Wang},
journal= {arXiv preprint arXiv:2506.22727},
year = {2026}
}
备注
31 pages