An Efficient Quasidictionary

  • Authors:
  • Torben Hagerup;Rajeev Raman

  • Affiliations:
  • -;-

  • Venue:
  • SWAT '02 Proceedings of the 8th Scandinavian Workshop on Algorithm Theory
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

We define a quasidictionary to be a data structure that supports the following operations: check-in(v) inserts a data item v and returns a positive integer tag to be used in future references to v; check-out(x) deletes the data item with tag x; access(x) inspects and/or modifies the data item with tag x. A quasidictionary is similar to a dictionary, the difference being that the names identifying data items are chosen by the data structure rather than by its user. We describe a deterministic quasidictionary that executes the operations check-in and access in constant time and check-out in constant amortized time, works in linear space, and uses only tags bounded by the maximum number of data items stored simultaneously in the quasidictionary since it was last empty.