For faster navigation, this Iframe is preloading the Wikiwand page for 三叉搜索树.

三叉搜索树

三叉搜索树
类型tree
大O符号表示的时间复杂度
算法 平均 最差
搜索
插入
删除

三叉搜索树(英語:Ternary search tree,縮寫:TST)在计算机科学中是trie树前缀树的一种实现,树的各个节点之间的结构类似二叉搜索树。和其他的前缀树一样,三叉搜索树可以用于实现带前缀搜索功能的关联数组。三叉搜索树比标准的前缀树更节省空间,但是牺牲了部分查找速度。三叉搜索树常用于实现拼写检查自动完成功能。[1]

描述

三叉搜索树的每个节点存储了一个字符、一个值对象或值指针以及三个指向子节点的指针。这三个字节点常被称为等位子节点、低位子节点和高位子节点。[2]

参考文献

  1. ^ A. R. Hurson,Marvin Zelkowitz. Advances in Computers: Parallel, Distributed, and Pervasive Computing. Academic Press. 2005 [2015-02-02]. ISBN 9780120121632. (原始内容存档于2016-03-04). 
  2. ^ Ostrovsky, Igor. Efficient auto-complete with a ternary search tree. [2015-02-02]. (原始内容存档于2015-02-07). 
{{bottomLinkPreText}} {{bottomLinkText}}
三叉搜索树
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?