A Near-Optimal Algorithm to Count Occurrences of Subsequences of a Given Length

一种用于统计给定长度子序列出现次数的近优算法

阅读:1

Abstract

For k ∈ ℤ(+), define Σ (k) as the set of integers {0, 1, …, k - 1}. Given an integer n and a string t of length m ≥ n over Σ (k) , we count the number of times that each one of the k(n) distinct strings of length n over Σ (k) occurs as a subsequence of t. Our algorithm makes only one scan of t and solves the problem in time complexity mk(n)(-1) and space complexity m + k(n) . These are very close to best possible.

特别声明

1、本页面内容包含部分的内容是基于公开信息的合理引用;引用内容仅为补充信息,不代表本站立场。

2、若认为本页面引用内容涉及侵权,请及时与本站联系,我们将第一时间处理。

3、其他媒体/个人如需使用本页面原创内容,需注明“来源:[生知库]”并获得授权;使用引用内容的,需自行联系原作者获得许可。

4、投稿及合作请联系:info@biocloudy.com。