Concept

Longest common subsequence — where it appears

The longest sequence of characters appearing in order, though not necessarily together, in two strings. Its table has the same shape as an edit distance's and one difference that matters: only the cells where the characters agree can lengthen anything.

Named by 2 essays across 2 fields — each of them below, with the objects they name alongside it.

Named alongside it

The objects these essays reach for when they reach for this one.

Dynamic programmingSubproblemAlignmentAlphabet sizeApproximate matchingBinary searchCharacter comparisonComplexity classCost modelEdit distanceLevenshteinMeasured count

All concepts