enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Comparison of programming languages (string functions)

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

    For function that manipulate strings, modern object-oriented languages, like C# and Java have immutable strings and return a copy (in newly allocated dynamic memory), while others, like C manipulate the original string unless the programmer copies data to a new string.

  3. Longest common substring - Wikipedia

    en.wikipedia.org/wiki/Longest_common_substring

    The longest common substrings of a set of strings can be found by building a generalized suffix tree for the strings, and then finding the deepest internal nodes which have leaf nodes from all the strings in the subtree below it. The figure on the right is the suffix tree for the strings "ABAB", "BABA" and "ABBA", padded with unique string ...

  4. Substring - Wikipedia

    en.wikipedia.org/wiki/Substring

    A string is a substring (or factor) [1] of a string if there exists two strings and such that =.In particular, the empty string is a substring of every string. Example: The string = ana is equal to substrings (and subsequences) of = banana at two different offsets:

  5. Approximate string matching - Wikipedia

    en.wikipedia.org/wiki/Approximate_string_matching

    String matching cannot be used for most binary data, such as images and music. They require different algorithms, such as acoustic fingerprinting . A common command-line tool fzf is often used to integrate approximate string searching into various command-line applications.

  6. String-searching algorithm - Wikipedia

    en.wikipedia.org/wiki/String-searching_algorithm

    A simple and inefficient way to see where one string occurs inside another is to check at each index, one by one. First, we see if there is a copy of the needle starting at the first character of the haystack; if not, we look to see if there's a copy of the needle starting at the second character of the haystack, and so forth.

  7. 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 ...

  8. Boyer–Moore string-search algorithm - Wikipedia

    en.wikipedia.org/wiki/Boyer–Moore_string-search...

    P denotes the string to be searched for, called the pattern. Its length is m. S[i] denotes the character at index i of string S, counting from 1. S[i..j] denotes the substring of string S starting at index i and ending at j, inclusive. A prefix of S is a substring S[1..i] for some i in range [1, l], where l is the length of S.

  9. Longest palindromic substring - Wikipedia

    en.wikipedia.org/wiki/Longest_palindromic_substring

    Longest Palindromic Substring Part II., 2011-11-20, archived from the original on 2018-12-08. A description of Manacher’s algorithm for finding the longest palindromic substring in linear time. Akalin, Fred (2007-11-28), Finding the longest palindromic substring in linear time. An explanation and Python implementation of Manacher's linear ...