Complete the sentence to define a suffix tree.
A suffix tree is a [1] that represents all suffixes of a given string.A suffix tree is a tree data structure that stores all suffixes of a string in a way that allows fast pattern matching.
Complete the sentence to explain the main use of suffix trees.
Suffix trees are mainly used to [1] patterns quickly in a text.
Suffix trees allow searching for patterns efficiently by representing all suffixes of a text.
Fix the error in the statement about suffix trees.
A suffix tree for a string of length n can be built in [1] time.
Suffix trees can be constructed in linear time, which is O(n), where n is the length of the string.
Fill both blanks to describe suffix tree nodes and edges.
Each edge in a suffix tree is labeled with a [1], and each node represents a [2] of the string.
Edges are labeled with substrings of the original string, and nodes represent suffixes or points where suffixes branch.
Fill all three blanks to complete the suffix tree property.
A suffix tree for a string S of length n has at most [1] leaves, each leaf corresponds to a [2] of S, and the total number of nodes is at most [3].
The suffix tree has at most n leaves, each leaf corresponds to a suffix of the string, and the total number of nodes is at most 2n - 1.