首页 > 其他 > 详细

三元搜索树

时间:2014-04-13 17:21:25      阅读:455      评论:0      收藏:0      [点我收藏+]

原文:http://blog.csdn.net/duckur/article/details/518676

Ternary Search Trees

Jon Bentley and Robert Sedgewick

feature article in Dr. Dobbs Journal April, 1998

Abstract

When you have to store a set of strings, what data structure do you use? Jon and Bob suggest one place you can start is with ternary search trees, which combine the time efficiency of digital tries with the space efficiency of binary search trees.


Fast Algorithms for Sorting and Searching Strings

Jon Bentley and Robert Sedgewick

presented at Eighth Annual ACM-SIAM Symposium on Discrete Algorithms
New Orleans, January, 1997

Abstract

We present theoretical algorithms for sorting and searching multidimensional data and practical C implementations for the application where keys are character strings. The sorting algorithm, an amalgam of Quicksort and radix sort, is competitive with the best known C sort codes. The searching algorithm, an amalgam of tries and binary search trees, is faster than hashing and other commonly used search methods. The basic ideas behind the algorithms date back at least to the 1960s, but their practical utility has been overlooked. Analytic results and extensions to more difficult string processing problems are also included.

三元搜索树,布布扣,bubuko.com

三元搜索树

原文:http://www.cnblogs.com/shanguanghui/p/3662114.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!