When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Suffix tree - Wikipedia

    en.wikipedia.org/wiki/Suffix_tree

    The worst-case space usage of a suffix tree is seen with a fibonacci word, giving the full nodes. An important choice when making a suffix tree implementation is the parent-child relationships between nodes. The most common is using linked lists called sibling lists. Each node has a pointer to its first child, and to the next node in the child ...

  3. Generalized suffix tree - Wikipedia

    en.wikipedia.org/wiki/Generalized_suffix_tree

    An alternative to building a generalized suffix tree is to concatenate the strings, and build a regular suffix tree or suffix array for the resulting string. When hits are evaluated after a search, global positions are mapped into documents and local positions with some algorithm and/or data structure, such as a binary search in the starting ...

  4. Longest common substring - Wikipedia

    en.wikipedia.org/wiki/Longest_common_substring

    Generalized suffix tree for the strings "ABAB", "BABA" and "ABBA", numbered 0, 1 and 2. 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 ...

  5. Ukkonen's algorithm - Wikipedia

    en.wikipedia.org/wiki/Ukkonen's_algorithm

    Final suffix tree using Ukkonen's algorithm (example). To better illustrate how a suffix tree is constructed using Ukkonen's algorithm, we can consider the string S = xabxac. Start with an empty root node. Construct for S[1] by adding the first character of the string. Rule 2 applies, which creates a new leaf node.

  6. List of data structures - Wikipedia

    en.wikipedia.org/wiki/List_of_data_structures

    In these data structures each tree node compares a bit slice of key values. Radix tree; Suffix tree; Suffix array; Compressed suffix array; FM-index; Generalised suffix tree; B-tree; Judy array; Trie; X-fast trie; Y-fast trie; Merkle tree

  7. Longest repeated substring problem - Wikipedia

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

    The problem of finding the longest substring with at least 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 leaf descendants. To avoid overlapping repeats, you can check that the list of suffix lengths has no consecutive ...

  8. LCP array - Wikipedia

    en.wikipedia.org/wiki/LCP_array

    suffix tree traversal using the suffix links. Kasai et al. (2001) show how to simulate a bottom-up traversal of the suffix tree using only the suffix array and LCP array. Abouelhoda, Kurtz & Ohlebusch (2004) enhance the suffix array with the LCP array and additional data structures and describe how this enhanced suffix array can be used to ...

  9. Trie - Wikipedia

    en.wikipedia.org/wiki/Trie

    In computer science, a trie (/ ˈ t r aɪ /, / ˈ t r iː /), also known as a digital tree or prefix tree, [1] is a specialized search tree data structure used to store and retrieve strings from a dictionary or set. Unlike a binary search tree, nodes in a trie do not store their associated key.