This article needs attention from an expert in Computing. The specific problem is: "Missing the description of a few but in this case very important operations. Missing the pseudocode of all operations (including the missing ones just mentioned). Pseudocode greatly improves the understanding of the operations. Missing rigorous mathematical analysis of the running time complexities.". WikiProject Computing may be able to help recruit an expert.(September 2016)
Ternary Search Tree (TST)
Type
tree
Time complexity in big O notation
Operation
Average
Worst case
Search
O(log n)
O(n)
Insert
O(log n)
O(n)
Delete
O(log n)
O(n)
Space complexity
In computer science, a ternary search tree is a type of trie (sometimes called a prefix tree) where nodes are arranged in a manner similar to a binary search tree, but with up to three children rather than the binary tree's limit of two. Like other prefix trees, a ternary search tree can be used as an associative map structure with the ability for incremental string search. However, ternary search trees are more space efficient compared to standard prefix trees, at the cost of speed. Common applications for ternary search trees include spell-checking and auto-completion.
and 23 Related for: Ternary search tree information
science, a ternarysearchtree is a type of trie (sometimes called a prefix tree) where nodes are arranged in a manner similar to a binary searchtree, but...
and the tree itself is ordered the same way a binary searchtree is, with the exception of a possible third node. Searching a ternarysearchtree involves...
values Ternary computer, a computer using a ternary numeral system Ternarytree, a tree data structure in computer science Ternarysearchtree, a ternary (three-way)...
traversal of the BST. Searchtree Join-based tree algorithms Optimal binary searchtree Geometry of binary searchtreesTernarysearchtree Culberson, J.; Munro...
suffix tree B-tree Judy array Trie X-fast trie Y-fast trie Merkle treeTernarysearchtreeTernarytree K-ary tree And–or tree (a,b)-tree Link/cut tree SPQR-tree...
to infinity. One result of the relative economy of base 3 is that ternarysearchtrees offer an efficient strategy for retrieving elements of a database...
a generalized suffix tree. The longest common substrings of a set of strings can be found by building a generalized suffix tree for the strings, and then...
In computer science, tree traversal (also known as treesearch and walking the tree) is a form of graph traversal and refers to the process of visiting...
| Tree (Black, Tree (Red, a, x, Tree (Red, b, y, c)), z, d) | Tree (Black, a, x, Tree (Red, Tree (Red, b, y, c), z, d)) | Tree (Black, a, x, Tree (Red...
Look up TST in Wiktionary, the free dictionary. TST may stand for: Ternarysearchtree, in computer science Transition state theory, of chemical reaction...
of lengths n 1 , . . . , n N {\displaystyle n_{1},...,n_{N}} , a naive search would test each of the 2 n 1 {\displaystyle 2^{n_{1}}} subsequences of the...
a compact notation for regular grammars Regular tree grammar, a generalization from strings to trees Prefix grammar Chomsky hierarchy Perrin, Dominique...
programming portal Prefix tree (also known as a Trie) Deterministic acyclic finite state automaton (DAFSA) Ternarysearch tries Hash trie Deterministic...
of a given NFA is empty. To do this, we can simply perform a depth-first search from the initial state and check if some final state can be reached. It...
the indices of first bit of each codeword, where we can apply a binary search; List of the indices of first bit of each codeword with differential coding...
independently showed that Weiner's 1973 suffix-tree construction algorithm while building a suffix tree of the string S {\displaystyle S} constructs a...
exceptionally tall understory tree growing among other taller species. TernaryTree Shape Plots. A methodology for plotting different tree shapes graphically was...
function evaluations (i.e., a value oracle) - not derivatives:: sec.5 Ternarysearch: pick some two points b,c such that a<b<c<z. If f(b)≤f(c), then x* must...
another, it does indeed monotonically grow. It is also called the Cantor ternary function, the Lebesgue function, Lebesgue's singular function, the Cantor–Vitali...