Concept

Shared prefix — where it appears

The leading characters two or more strings have in common. A dynamic program over a string depends on its input only through the prefix consumed so far, so work done for a shared prefix is work that serves every string carrying it — which is what a trie makes structural.

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.

Character comparisonComparison sortCorpusCost modelDistinguishing prefixDynamic programmingEdit distanceEvaluation orderLower boundMeasured countMerge sortOutput-sensitive

All concepts