Unique binary search tree representations and equality-testing of sets and sequences

Abstract : Given an ordered universe U, we study the problem of representing each subset of U by a unique binary search tree so that dictionary operations can be performed efficiently. We exhibit representations that permit the execution of dictionary operations in optimal time when the dictionary is sufficiently sparse or sufficiently dense. We apply unique representations to obtain efficient data structures for maintaining a collection of sets/sequences under queries that test the equality of a pair of objects. In the process, we devise an interesting method for maintaining a dynamic, sparse array.

[1]  William Pugh,et al.  Incremental computation via function caching , 1989, POPL '89.

[2]  Jr. William Worthington Pugh Incremental Computation and the Incremental Evaluation of Functional Programs , 1988 .

[3]  Friedhelm Meyer auf der Heide,et al.  Dynamic perfect hashing: upper and lower bounds , 1988, [Proceedings 1988] 29th Annual Symposium on Foundations of Computer Science.

[4]  Robert E. Tarjan,et al.  Storing a sparse table , 1979, CACM.

[5]  Derick Wood,et al.  A Note on Some Tree Similarity Measures , 1982, Inf. Process. Lett..

[6]  Larry Carter,et al.  Universal Classes of Hash Functions , 1979, J. Comput. Syst. Sci..

[7]  J. Ian Munro,et al.  Implicit Data Structures for Fast Search and Update , 1980, J. Comput. Syst. Sci..

[8]  John A. Allen,et al.  The anatomy of lisp , 1980 .

[9]  Robert E. Wilber Lower bounds for accessing binary search trees with rotations , 1986, 27th Annual Symposium on Foundations of Computer Science (sfcs 1986).

[10]  Larry Carter,et al.  New Hash Functions and Their Use in Authentication and Set Equality , 1981, J. Comput. Syst. Sci..

[11]  Robert E. Tarjan,et al.  Making data structures persistent , 1986, STOC '86.

[12]  Richard Cole,et al.  On the dynamic finger conjecture for splay trees , 1990, STOC '90.

[13]  Robert E. Tarjan,et al.  Rotation distance, triangulations, and hyperbolic geometry , 1986, STOC '86.

[14]  Robert E. Tarjan,et al.  Self-adjusting binary search trees , 1985, JACM.

[15]  Daniel M. Yellin Representing sets with constant time equality testing , 1990, SODA '90.

[16]  Dan E. Willard New Trie Data Structures Which Support Very Fast Search Operations , 1984, J. Comput. Syst. Sci..