Purely functional worst case constant time catenable sorted lists

  • Authors:
  • Gerth Stølting Brodal;Christos Makris;Kostas Tsichlas

  • Affiliations:
  • Department of Computer Science, University of Aarhus, BRICS, Basic Research in Computer Science, funded by the Danish National Research Foundation;Department of Computer Engineering and Informatics, University of Patras, Patras, Greece;Department of Computer Engineering and Informatics, University of Patras, Patras, Greece

  • Venue:
  • ESA'06 Proceedings of the 14th conference on Annual European Symposium - Volume 14
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a purely functional implementation of search trees that requires O(logn) time for search and update operations and supports the join of two trees in worst case constant time. Hence, we solve an open problem posed by Kaplan and Tarjan as to whether it is possible to envisage a data structure supporting simultaneously the join operation in O(1) time and the search and update operations in O(logn) time.