Period (next与循环串)
For each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whether the prefix is a periodic string. That is, for each i (2
转载
2017-08-16 11:40:55 ·
224 阅读 ·
0 评论