基数树

Multi tool use
在计算机科学中,基数树,或称Patricia trie/tree,或crit bit tree,压缩前缀树,是一种更节省空间的Trie(前缀树)。对于基数树的每个节点,如果该节点是唯一的子樹的话,就和父节点合并。
应用
基数树可用来构建关联数组。
用于IP 路由。
信息检索中用于文本文档的倒排索引。
操作
基数树支持插入、删除、查找操作。查找包括完全匹配、前缀匹配、前驱查找、后继查找。所有这些操作都是O(k)复杂度,其中k是所有字符串中最大的长度。
查找
计算机科学中的树
|
|
二叉树 |
- 二叉查找树(BST)
- 笛卡尔树
- MVP树
- Top tree
- T树
|
|
自平衡二叉查找树 |
- AA树
- AVL树
- 左倾红黑树
- 红黑树
- 替罪羊树
- 伸展树
- 树堆
- 加权平衡树
|
|
B树 |
- B+树
- B*树
- Bx树
- UB树
- 2-3树
- 2-3-4树
- (a,b)-树
- Dancing tree
- H树
|
|
堆 |
- 二叉堆
- 二项堆
- 斐波那契堆
- 左偏树
- 配对堆
- 斜堆
- Van Emde Boas tree
|
|
Trie |
- 后缀树
- 基数树
- 三叉查找树
- X-快速前缀树
- Y-快速前缀树
- AC自动机
|
|
二叉空间分割(BSP)树 |
|
|
非二叉树 |
- 指数树
- 融合树
- 区间树
- PQ树
- Range tree
- SPQR树
|
|
空间数据分割树 |
- R树
- R*树
- R+树
- X树
- M树
- 线段树
- 可持久化线段树
- 希尔伯特R树
- 优先R树
|
|
其他树 |
- 散列日历
- 散列树
- Finger tree
- 顺序统计树
- Metric tree
- Cover tree
- BK树
- Doubly chained tree
- iDistance
- Link-cut tree
- Log-structured merge-tree
- 树状数组
|
|
07fINW8p7F,36,xCpiiJbRTKjkQWvRVOPsJ2 s4mLnQZBxBWpgLQK6,9JuZdZj3d1YkKw4PWJ66rSjQYPcKALpu 3Pe
Popular posts from this blog
This article is about the letter of the alphabet. For other uses, see Y (disambiguation). See also: Wye (disambiguation) Y Y y (See below) Usage Writing system Latin script Type Alphabetic and Logographic Language of origin Latin language Phonetic usage [ y ] [ ɨ ] [ j ] [ iː ] [ ɪ ] [ ɘ ] [ ə ] [ ɯ ] [ ɛː ] [ j ] [ ɥ ] [ ɣ̟ ] / w aɪ / / aɪ / Unicode value U+0059, U+0079 Alphabetical position 25 History Development Υ υ 𐌖 Y y Time period 54 to present Descendants • U • V • W • Ỿ • ¥ • Ꮙ • Ꮍ • Ꭹ Sisters F Ѵ У Ў Ұ Ү ו و ܘ וּ וֹ ࠅ 𐎆 𐡅 ወ વ ૂ ુ उ Variations (See below) Other Other letters commonly used with y(x), ly, ny This article contains IPA phonetic symbols. Without proper rendering support, you may see question marks, boxes, or other symbols instead of Unicode characters. For an introductory guide on IPA symbols, see Help:IPA. ISO basic Latin alphabet Aa Bb Cc D...
Mount Tamalpais Mount Tamalpais, viewed from the south Highest point Elevation 2,571 ft (784 m) NAVD 88 [1] Prominence 2,456 ft (749 m) [1] Listing California county high points 55th Coordinates 37°55′45″N 122°34′40″W / 37.929088°N 122.577829°W / 37.929088; -122.577829 Coordinates: 37°55′45″N 122°34′40″W / 37.929088°N 122.577829°W / 37.929088; -122.577829 [1] Geography Mount Tamalpais Marin County, California, U.S. Show map of California Mount Tamalpais Mount Tamalpais (the US) Show map of the US Parent range California Coast Ranges Topo map USGS San Rafael Geology Mountain type Sedimentary Climbing First ascent 1830s by Jacob P. Leese (first recorded ascent) [2] Easiest route Railroad Grade fire trail Mount Tamalpais ( / t æ m əl ˈ p aɪ . ɪ s / ; TAM -əl- PY -iss ; Coast Miwok: /t̪ɑmɑlˈpɑis̺/ , known locally as Mount Tam ) is a peak in Marin County, California, United State...
FMW Women's Championship Details Promotion Frontier Martial-Arts Wrestling [1] Date established November 5, 1990 [1] Date retired September 28, 1997 Other name(s) WWA World Women's Championship FMW Independent Women's Championship Statistics First champion(s) Combat Toyoda [1] Most reigns Megumi Kudo (6 reigns) [1] Longest reign Megumi Kudo (426 days) [1] Shortest reign Shark Tsuchiya (<1 day) [1] The FMW Women's Championship (or the FMW Independent Women's & WWA Women's Championship ) was two Japanese women's professional wrestling championships (WWA World Women's Championship and FMW Independent World Women's Championship) contested in the promotion Frontier Martial-Arts Wrestling (FMW). During the heyday of FMW, the female wrestlers wrestled in the same types of bloody death matches as the FMW men, and were feared by other Japanese female wrestlers for their toughness and intensity. ...