English

Time and Space Efficient Algorithms for RNA Folding with the Four-Russians Technique

Data Structures and Algorithms 2015-03-23 v2

Abstract

In this paper, we develop new algorithms for the basic RNA folding problem. Given an RNA sequence that contains nn nucleotides, the goal of the problem is to compute a pseudoknot-free secondary structure that maximizes the number of base pairs in the sequence. We show that there exists a dynamic programming algorithm that can solve the problem in time O(n3log2n)O(\frac{n^{3}}{\log_{2}{n}}) while using only O(n2log2n)O(\frac{n^{2}}{\log_{2}{n}}) memory space. In addition, we show that the time complexity of this algorithm can be further improved to O(n3log22n)O(\frac{n^{3}}{\log_{2}^{2}{n}}) at the expense of a slightly increased space complexity. To the best of our knowledge, this is the first algorithm that can solve the problem with traditional dynamic programming techniques in time O(n3log22n)O(\frac{n^{3}}{\log_{2}^{2}{n}}). In addition, our results improve the best known upper bound of the space complexity for efficiently solving both this problem and the context-free language recognition problem.

Keywords

Cite

@article{arxiv.1503.05670,
  title  = {Time and Space Efficient Algorithms for RNA Folding with the Four-Russians Technique},
  author = {Yinglei Song},
  journal= {arXiv preprint arXiv:1503.05670},
  year   = {2015}
}
R2 v1 2026-06-22T08:56:48.063Z