Longest Common Subsequence Problem - Relation To Other Problems

Relation To Other Problems

For two strings and, the length of the shortest common supersequence is related to the length of the LCS by

The edit distance when only insertion and deletion is allowed (no substitution), or when the cost of the substitution is the double of the cost of an insertion or deletion, is:

Read more about this topic:  Longest Common Subsequence Problem

Famous quotes containing the words relation to, relation and/or problems:

    Whoever has a keen eye for profits, is blind in relation to his craft.
    Sophocles (497–406/5 B.C.)

    There is the falsely mystical view of art that assumes a kind of supernatural inspiration, a possession by universal forces unrelated to questions of power and privilege or the artist’s relation to bread and blood. In this view, the channel of art can only become clogged and misdirected by the artist’s concern with merely temporary and local disturbances. The song is higher than the struggle.
    Adrienne Rich (b. 1929)

    Wittgenstein imagined that the philosopher was like a therapist whose task was to put problems finally to rest, and to cure us of being bewitched by them. So we are told to stop, to shut off lines of inquiry, not to find things puzzling nor to seek explanations. This is intellectual suicide.
    Simon Blackburn (b. 1944)