enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Approximate string matching - Wikipedia

    en.wikipedia.org/wiki/Approximate_string_matching

    After computing E(i, j) for all i and j, we can easily find a solution to the original problem: it is the substring for which E(m, j) is minimal (m being the length of the pattern P.) Computing E ( m , j ) is very similar to computing the edit distance between two strings.

  3. Comparison of programming languages (string functions)

    en.wikipedia.org/wiki/Comparison_of_programming...

    string.find(string, substring) (string):find(substring) Lua: returns nil string indexOfSubCollection: substring startingAt: startpos ifAbsent: aBlock string findString: substring startingAt: startpos: Smalltalk (Squeak, Pharo) evaluate aBlock which is a block closure (or any object understanding value) returns 0

  4. Longest repeated substring problem - Wikipedia

    en.wikipedia.org/wiki/Longest_repeated_substring...

    The string spelled by the edges from the root to such a node is a longest repeated substring. The problem of finding the longest substring with at least k {\displaystyle k} occurrences can be solved by first preprocessing the tree to count the number of leaf descendants for each internal node, and then finding the deepest node with at least k ...

  5. String-searching algorithm - Wikipedia

    en.wikipedia.org/wiki/String-searching_algorithm

    A string-searching algorithm, sometimes called string-matching algorithm, is an algorithm that searches a body of text for portions that match by pattern. A basic example of string searching is when the pattern and the searched text are arrays of elements of an alphabet ( finite set ) Σ.

  6. Palindrome tree - Wikipedia

    en.wikipedia.org/wiki/Palindrome_Tree

    In computer science a palindrome tree, also called an EerTree, [1] is a type of search tree, that allows for fast access to all palindromes contained in a string.They can be used to solve the longest palindromic substring, the k-factorization problem [2] (can a given string be divided into exactly k palindromes), palindromic length of a string [3] (what is the minimum number of palindromes ...

  7. Longest palindromic substring - Wikipedia

    en.wikipedia.org/wiki/Longest_palindromic_substring

    For example, the longest palindromic substring of "bananas" is "anana". The longest palindromic substring is not guaranteed to be unique; for example, in the string "abracadabra", there is no palindromic substring with length greater than three, but there are two palindromic substrings with length three, namely, "aca" and "ada".

  8. Longest common substring - Wikipedia

    en.wikipedia.org/wiki/Longest_common_substring

    The picture shows two strings where the problem has multiple solutions. Although the substring occurrences always overlap, it is impossible to obtain a longer common substring by "uniting" them. The strings "ABABC", "BABCA" and "ABCBA" have only one longest common substring, viz. "ABC" of length 3.

  9. Suffix tree - Wikipedia

    en.wikipedia.org/wiki/Suffix_tree

    String search, in O(m) complexity, where m is the length of the sub-string (but with initial O(n) time required to build the suffix tree for the string) Finding the longest repeated substring Finding the longest common substring