Longest common subsequence

From Algorithm Wiki
Jump to navigation Jump to search

Problem Description

The longest common subsequence (LCS) problem is the problem of finding the longest subsequence common to all sequences in a set of sequences (often just two sequences).

Bounds Chart

Longest common subsequenceBoundsChart.png

Step Chart

Longest common subsequenceStepChart.png

Improvement Table

Complexity Classes Algorithm Paper Links Lower Bounds Paper Links
Exp/Factorial
Polynomial > 3
Cubic
Quadratic
nlogn
Linear
logn