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:
“The best liar is he who makes the smallest amount of lying go the longest way.”
—Samuel Butler (18351902)
“They sang, but had not human tunes nor words,
Though all was done in common as before;
They had changed their throats and had the throats of birds.”
—William Butler Yeats (18651939)
“A curious thing about the ontological problem is its simplicity. It can be put in three Anglo-Saxon monosyllables: What is there? It can be answered, moveover, in a wordEverything.”
—Willard Van Orman Quine (b. 1908)