Longest Common Substring Problem - Problem Definition

Problem Definition

Given two strings, of length and of length, find the longest strings which are substrings of both and .

A generalisation is the k-common substring problem. Given the set of strings, where and Σ. Find for each 2 ≤ ≤, the longest strings which occur as substrings of at least strings.

Read more about this topic:  Longest Common Substring Problem

Famous quotes containing the words problem and/or definition:

    Only in the problem play is there any real drama, because drama is no mere setting up of the camera to nature: it is the presentation in parable of the conflict between Man’s will and his environment: in a word, of problem.
    George Bernard Shaw (1856–1950)

    The definition of good prose is proper words in their proper places; of good verse, the most proper words in their proper places. The propriety is in either case relative. The words in prose ought to express the intended meaning, and no more; if they attract attention to themselves, it is, in general, a fault.
    Samuel Taylor Coleridge (1772–1834)