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:
“I have seen a thousand graves opened, and always perceived that whatever was gone, the teeth and hair remained of those who had died with them. Is not this odd? They go the very first things in youth & yet last the longest in the dust.”
—George Gordon Noel Byron (17881824)
“For we brought nothing into this world, and it is certain we can carry nothing out.”
—Bible: New Testament St. Paul, in 1 Timothy, 6:7.
The words also appear in the Book of Common Prayer, Burial of the Dead.
“To make a good salad is to be a brilliant diplomatistthe problem is entirely the same in both cases. To know exactly how much oil one must put with ones vinegar.”
—Oscar Wilde (18541900)