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:
“A bill... is the most extraordinary locomotive engine that the genius of man ever produced. It would keep on running during the longest lifetime, without ever once stopping of its own accord.”
—Charles Dickens (18121870)
“If any man can shew any just cause, why they may not lawfully be joined together, let him now speak, or else hereafter for ever hold his peace.”
—Book Of Common Prayer, The. Solemnization of Matrimony, Exhortation, (1662)
“What had really caused the womens movement was the additional years of human life. At the turn of the century womens life expectancy was forty-six; now it was nearly eighty. Our groping sense that we couldnt live all those years in terms of motherhood alone was the problem that had no name. Realizing that it was not some freakish personal fault but our common problem as women had enabled us to take the first steps to change our lives.”
—Betty Friedan (20th century)