Longest Common Subsequence Problem

Longest Common Subsequence Problem

The longest common subsequence (LCS) problem is to find the longest subsequence common to all sequences in a set of sequences (often just two). Note that subsequence is different from a substring, see substring vs. subsequence. It is a classic computer science problem, the basis of file comparison programs such as diff, and has applications in bioinformatics.

Read more about Longest Common Subsequence Problem:  Complexity, Solution For Two Sequences, Relation To Other Problems, Code Optimization

Famous quotes containing the words longest, common and/or problem:

    Once I went so far as to slaughter a woodchuck which ravaged my bean-field,—effect his transmigration, as a Tartar would say,—and devour him, partly for experiment’s sake; but though it afforded me a momentary enjoyment, notwithstanding a musky flavor, I saw that the longest use would not make that a good practice, however it might seem to have your woodchucks ready dressed by the village butcher.
    Henry David Thoreau (1817–1862)

    Throughout the 1980’s, we did hear too much about individual gain and the ethos of selfishness and greed. We did not hear enough about how to be a good member of a community, to define the common good and to repair the social contract. And we also found that while prosperity does not trickle down from the most powerful to the rest of us, all too often indifference and even intolerance do.
    Hillary Rodham Clinton (b. 1947)

    Theology, I am persuaded, derives its initial impulse from a religious wavering; for there is quite as much, or more, that is mysterious and calculated to awaken scientific curiosity in the intercourse with God, and it [is] a problem quite analogous to that of theology.
    Charles Sanders Peirce (1839–1914)