structures that can be used as substring indexes include: The suffix tree, a radix tree of the suffixes of the string, allowing substring search to be performed...
5 KB (611 words) - 08:19, 10 January 2025
computer science, a substring is a contiguous sequence of characters within a string. For instance, "the best of" is a substring of "It was the best of...
6 KB (831 words) - 07:25, 30 May 2025
common substring In computer science, a longest common substring of two or more strings is a longest string that is a substring of all of them...
8 KB (1,072 words) - 16:32, 25 May 2025
In computer science, an FM-index is a compressed full-text substring index based on the Burrows–Wheeler transform, with some similarities to the suffix...
10 KB (1,330 words) - 19:38, 9 August 2025
Rope (data structure) (section Index)
return Pair.of(left, right); } } Definition: Delete(i, j): delete the substring Ci, …, Ci + j − 1, from s to form a new string C1, …, Ci − 1, Ci + j,...
16 KB (1,787 words) - 10:55, 12 May 2025
need to store a DNA substring for every index and a 32-bit integer for index itself, the storage requirement for such an inverted index would probably be...
8 KB (875 words) - 15:30, 5 March 2025
String-searching algorithm (redirect from Substring search)
approach. Faster search algorithms preprocess the text. After building a substring index, for example a suffix tree or suffix array, the occurrences of a pattern...
21 KB (2,341 words) - 17:09, 26 July 2025
Approximate string matching (redirect from Approximate substring matching)
matching is typically divided into two sub-problems: finding approximate substring matches inside a given string and finding dictionary strings that match...
16 KB (1,910 words) - 05:45, 19 July 2025
to implement default String shortenString(String input) { return input.substring(1); } } // This is a valid class despite not implementing all the methods...
73 KB (7,938 words) - 20:01, 13 July 2025
algorithm Data structure DAFSA Substring index Suffix array Suffix automaton Suffix tree Compressed suffix array LCP array FM-index Generalized suffix tree Rope...
29 KB (3,477 words) - 05:00, 9 August 2025
(often just two sequences). It differs from the longest common substring: unlike substrings, subsequences are not required to occupy consecutive positions...
35 KB (4,355 words) - 22:13, 6 April 2025
algorithm Data structure DAFSA Substring index Suffix array Suffix automaton Suffix tree Compressed suffix array LCP array FM-index Generalized suffix tree Rope...
14 KB (1,221 words) - 06:31, 14 April 2025
algorithm Data structure DAFSA Substring index Suffix array Suffix automaton Suffix tree Compressed suffix array LCP array FM-index Generalized suffix tree Rope...
8 KB (988 words) - 21:36, 23 September 2024
result) // Examples in C# "abc".Substring(1, 1): // returns "b" "abc".Substring(1, 2); // returns "bc" "abc".Substring(1, 6); // error ;; Examples in Common...
125 KB (4,077 words) - 12:50, 22 February 2025
longest palindromic substring or longest symmetric factor problem is the problem of finding a maximum-length contiguous substring of a given string that...
17 KB (2,193 words) - 18:37, 30 July 2025
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. A suffix of S is a substring S[i..l] for some i in range...
23 KB (2,824 words) - 11:46, 27 July 2025
algorithm Data structure DAFSA Substring index Suffix array Suffix automaton Suffix tree Compressed suffix array LCP array FM-index Generalized suffix tree Rope...
29 KB (4,498 words) - 11:45, 27 July 2025
Sequential pattern mining (redirect from Most frequent substring)
addressed within this field. These include building efficient databases and indexes for sequence information, extracting the frequently occurring patterns...
9 KB (1,104 words) - 19:42, 10 June 2025
Suffix automaton (category Substring indices)
representing the substring index of a given string which allows the storage, processing, and retrieval of compressed information about all its substrings. The suffix...
55 KB (8,334 words) - 06:31, 14 April 2025
algorithm Data structure DAFSA Substring index Suffix array Suffix automaton Suffix tree Compressed suffix array LCP array FM-index Generalized suffix tree Rope...
4 KB (510 words) - 23:18, 19 December 2023
Pumping lemma (category All set index articles)
the fact that all sufficiently long strings in such a language have a substring that can be repeated arbitrarily many times, usually used to prove that...
779 bytes (152 words) - 06:52, 14 October 2018
which spell-checking is a special case). As a database especially when indexing by several non-key fields is desirable. In place of a hash table. Three-way...
14 KB (1,784 words) - 21:43, 13 November 2024
in T) an integer, cnd ← 0 (the zero-based index in W of the next character of the current candidate substring) let T[0] ← -1 while pos < length(W) do if...
34 KB (4,204 words) - 06:50, 30 June 2025
is sargable. It can use an index to find all the myNameColumn values that start with the substring 'Jimmy'. Block Range Index Query optimization ^1 Gulutzan...
6 KB (757 words) - 21:42, 24 June 2025
individually. Match implies that the substring occurs in both sequences to be aligned. Unique means that the substring occurs only once in each sequence...
7 KB (779 words) - 23:31, 29 July 2025
Suffix tree (category Substring indices)
operations can be performed quickly, such as locating a substring in S {\displaystyle S} , locating a substring if a certain number of mistakes are allowed, and...
29 KB (3,710 words) - 22:18, 27 April 2025
10. In some applications, such as substring search, one can compute a hash function h for every k-character substring of a given n-character string by...
50 KB (7,455 words) - 17:15, 31 July 2025
Compressed suffix array (category Substring indices)
enable quick search for an arbitrary string with a comparatively small index. Given a text T of n characters from an alphabet Σ, a compressed suffix...
6 KB (744 words) - 18:29, 9 August 2025
haystack) T := preprocess(needle) skip := 0 // haystack[skip:] means substring starting at index `skip`. Would be &haystack[skip] in C. while length(haystack)...
8 KB (1,008 words) - 01:52, 16 May 2025
contains s2 substring(string, start, length?) example: substring("ABCDEF",2,3) returns BCD. substring-before(s1, s2) example: substring-before("1999/04/01"...
29 KB (3,295 words) - 00:02, 28 July 2025