Skip to main content

Space-efficient finger search on degree-balanced search trees

Publication ,  Journal Article
Blelloch, GE; Maggs, BM; Woo, SLM
Published in: Proceedings of the Annual ACM-SIAM Symposium on Discrete Algorithms
January 1, 2003

We show how to support the finger search operation on degree-balanced search trees in a space-efficient, manner that retains a worst-case time bound of O(logd), where d is the difference in rank between successive search targets. While most existing tree-based designs allocate linear extra storage in the nodes (e.g., for side links and parent pointers), our design maintains a compact auxiliary data structure called the "hand" during the lifetime of the tree and imposes no other storage requirement within the tree. The hand requires O(log n) space for an n-node tree and has a relatively simple structure. It can be updated synchronously during insertions and deletions with time proportional to the number of structural changes in the tree. The auxiliary nature of the hand also makes it possible to introduce finger searches into any existing implementation without modifying the underlying data representation (e.g., any implementation of Red-Black trees can be used). Together these factors make finger searches more appealing in practice. Our design also yields a simple yet optimal inorder walk algorithm with worst-case O(l) work per increment (again without any extra storage requirement in the nodes), and we believe our algorithm can be used in database applications when the overall performance is very sensitive to retrieval latency.

Duke Scholars

Published In

Proceedings of the Annual ACM-SIAM Symposium on Discrete Algorithms

Publication Date

January 1, 2003

Start / End Page

374 / 383
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Blelloch, G. E., Maggs, B. M., & Woo, S. L. M. (2003). Space-efficient finger search on degree-balanced search trees. Proceedings of the Annual ACM-SIAM Symposium on Discrete Algorithms, 374–383.
Blelloch, G. E., B. M. Maggs, and S. L. M. Woo. “Space-efficient finger search on degree-balanced search trees.” Proceedings of the Annual ACM-SIAM Symposium on Discrete Algorithms, January 1, 2003, 374–83.
Blelloch GE, Maggs BM, Woo SLM. Space-efficient finger search on degree-balanced search trees. Proceedings of the Annual ACM-SIAM Symposium on Discrete Algorithms. 2003 Jan 1;374–83.
Blelloch, G. E., et al. “Space-efficient finger search on degree-balanced search trees.” Proceedings of the Annual ACM-SIAM Symposium on Discrete Algorithms, Jan. 2003, pp. 374–83.
Blelloch GE, Maggs BM, Woo SLM. Space-efficient finger search on degree-balanced search trees. Proceedings of the Annual ACM-SIAM Symposium on Discrete Algorithms. 2003 Jan 1;374–383.

Published In

Proceedings of the Annual ACM-SIAM Symposium on Discrete Algorithms

Publication Date

January 1, 2003

Start / End Page

374 / 383