A note on searching in a binary search tree
暂无分享,去创建一个
An algorithm for searching in a binary search tree using two‐way comparisons is presented. The number of comparisons required by this algorithm is only one more than when using three‐way comparisons. Since most high‐level programming languages do not supply three‐way comparisons, the number of comparisons used de facto is reduced by a factor of two. We give experimental results to indicate the speed‐up that may be achieved by the presented algorithm.
[1] Gaston H. Gonnet,et al. Handbook Of Algorithms And Data Structures , 1984 .
[2] P. Gács,et al. Algorithms , 1992 .
[3] Jon Louis Bentley,et al. Multidimensional binary search trees used for associative searching , 1975, CACM.