加载中…
We study the problem of finding all -periods of a length- string , presented as a data stream. is said to have -period if its prefix of length differs from its suffix of length in at most locations. We give a one-pass streaming algorithm that computes the -periods of a string using bits of space, for -periods of length at most . We also present a two-pass streaming algorithm that computes -periods of using bits of space, regardless of period length. We complement these results with comparable lower bounds.

生成讲解博客的中文版本

生成AI智能校验的中文版本