{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T19:33:44Z","timestamp":1787340824284,"version":"build-2736575974"},"reference-count":23,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"1","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[1994,2]]},"abstract":"<jats:p>This paper studies the problem of representing sets over an ordered universe by unique binary search trees, so that dictionary operations can be performed efficiently on any set. Although efficient randomized solutions to the problem are known, its deterministic complexity has been open. The paper exhibits representations that permit the execution of dictionary operations in optimal deterministic time when the dictionary is sufficiently sparse or sufficiently dense. The results demonstrate an exponential separation between the deterministic and randomized complexities of the problem.<\/jats:p>\n                  <jats:p>Unique representations are applied to obtain efficient data structures for maintaining a dynamic collection of sets\/sequences under queries that test the equality of a pair of objects. The data structure for set equality testing tests equality of sets in constant time and processes set updates in $O(\\log m)$ amortized time and $O(\\log m)$ space, where m denotes the total number of updates performed. It is based on an efficient implementation of cascades of CONS operations on uniquely stored S-expressions. The data structure for sequence equality testing tests equality of sequences in constant time and processes updates in $O(\\sqrt {n\\log m} = \\log m)$ amortized time and $O(\\sqrt n )$ amortized space where n denotes the length of the sequence that is updated and m denotes the total number of updates performed.<\/jats:p>","DOI":"10.1137\/s0097539790189733","type":"journal-article","created":{"date-parts":[[2005,2,24]],"date-time":"2005-02-24T06:39:46Z","timestamp":1109227186000},"page":"24-44","source":"Crossref","is-referenced-by-count":5,"title":["Unique Binary-Search-Tree Representations and Equality Testing of Sets and Sequences"],"prefix":"10.1137","volume":"23","author":[{"given":"Rajamani","family":"Sundar","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Robert E.","family":"Tarjan","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2006,7,31]]},"reference":[{"key":"R1","volume-title":"Anatomy of LISP","author":"Allen J.","year":"1978"},{"key":"R2","doi-asserted-by":"publisher","DOI":"10.1109\/SFCS.1991.185430"},{"key":"R3","doi-asserted-by":"crossref","unstructured":"C. R. Aragon, R. G. Seidel,  Randomized search trees,  Proc. 30th Annual IEEE Symposium on Foundations of J. Computer Science, IEEE Computer Society, Washington, DC,  1989,  540\u2013545","DOI":"10.1109\/SFCS.1989.63531"},{"key":"R4","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(79)90044-8"},{"key":"R5","doi-asserted-by":"crossref","unstructured":"R. Cole,  On the dynamic finger conjecture for splay trees,  Proc. 22nd Annual ACM Symposium on Theory of Computing, Association for Computing Machinery, New York,  1990,  8\u201317","DOI":"10.1145\/100216.100218"},{"key":"R6","unstructured":"R. Cole, B. Mishra, J. Schmidt, A. Siegel,  On the Dynamic Finger Conjecture for Splay Trees. Part I: Splay sorting log\n                      n\n                      -block sequences, Tech. Report, Courant Institute,  1989, September"},{"key":"R7","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(82)90083-7"},{"key":"R8","doi-asserted-by":"crossref","unstructured":"M. Dietzfelbinger, A. Karlin, K. Mehlhorn, F. Meyer auf der Heide, H. Rohnert, R. E. Tarjan,  Dynamic perfect hashing: Upper and lower bounds,  Proc. 29th Annual IEEE Symposium on Foundations of Computer Science, IEEE Computer Society, Washington, DC,  1988,  524\u2013531","DOI":"10.1109\/SFCS.1988.21968"},{"key":"R9","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(89)90034-2"},{"key":"R10","volume-title":"Ramsey theory","author":"Graham R. L.","year":"1980"},{"key":"R11","volume-title":"The art of computer programming. Volume 3","author":"Knuth Donald E.","year":"1973"},{"key":"R12","unstructured":"L. Lov\u00e1sz, Combinatorial problems and exercises, North-Holland Publishing Co., Amsterdam, 1979, 551\u201380m:050010439.05001"},{"key":"R13","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(80)90037-9"},{"key":"R14","unstructured":"W. Pugh, Ph.D. Thesis,  Incremental Computation and the Incremental Evaluation of Functional Programs, Cornell University, Ithaca, NY,  1988"},{"key":"R15","doi-asserted-by":"crossref","unstructured":"W. Pugh, T. Tietelbaum,  Incremental computation via function caching,  Proc. 16th Annual ACM Symposium on Principles of Programming Languages, Association for Computing Machinery, New York,  1989,  315\u2013328","DOI":"10.1145\/75277.75305"},{"key":"R16","doi-asserted-by":"publisher","DOI":"10.1145\/3828.3835"},{"key":"R17","doi-asserted-by":"publisher","DOI":"10.1090\/S0894-0347-1988-0928904-4"},{"key":"R18","doi-asserted-by":"crossref","unstructured":"Lawrence Snyder,  On uniquely represented data structures (extended abstract),  18th Annual Symposium on Foundations of Computer Science (Providence, R.I., 1977), IEEE Comput. Sci., Long Beach, Calif.,  1977,  142\u2013146 58:8497","DOI":"10.1109\/SFCS.1977.22"},{"key":"R19","unstructured":"R. Sundar,  Maintaining sequences under equality-tests in polylogarithmic randomized time, in Proc. 12th Conference on Foundations of Software Technology and Theoretical Computer Science, New Delhi, India, December 1992, Lecture Notes in Computer Science, Springer-Verlag, Berlin, to appear"},{"key":"R20","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(81)90033-7"},{"key":"R21","doi-asserted-by":"publisher","DOI":"10.1137\/0218004"},{"key":"R22","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(84)90020-5"},{"key":"R23","unstructured":"D. Yellin,  Representing sets with constant time equality testing,  Proc. 1st Annual ACM-SIAM Symposium on Discrete Algorithms, Association for Computing Machinery, New York,  1990,  64\u201373, IBM Tech. Report, April 1990 0800.68348"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/S0097539790189733","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:50:43Z","timestamp":1787338243000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/S0097539790189733"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[1994,2]]},"references-count":23,"journal-issue":{"issue":"1","published-print":{"date-parts":[[1994,2]]}},"alternative-id":["10.1137\/S0097539790189733"],"URL":"https:\/\/doi.org\/10.1137\/s0097539790189733","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[1994,2]]}}}