Longest common subsequence — where it appears
Named by 2 essays across 2 fields — each of them below, with the objects they name alongside it.
A distance that is a path through a grid
How far apart two strings are is a shortest-path problem on a grid whose every edge is drawn by the recurrence — and finding a string in a text costs 4,988 character comparisons where measuring how far it is from one costs 96,000.
The cells that were never worth having
Two three-hundred-character strings over twenty-six letters give a table of 90,601 cells, and 3,421 of them are pairs of positions whose characters agree. Only those can lengthen anything. A method that enumerates exactly those computes a twenty-sixth of the table — and on a two-letter alphabet it computes half of it and is worse than the table it replaced.
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