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:

    You must realize that I was suffering from love and I knew him as intimately as I knew my own image in a mirror. In other words, I knew him only in relation to myself.
    Angela Carter (1940–1992)

    To criticize is to appreciate, to appropriate, to take intellectual possession, to establish in fine a relation with the criticized thing and to make it one’s own.
    Henry James (1843–1916)

    The man who is forever disturbed about the condition of humanity either has no problems of his own or has refused to face them.
    Henry Miller (1891–1980)