Fully persistent lists with catenation

  • Authors:
  • James R. Driscoll;Daniel D. K. Sleator;Robert E. Tarjan

  • Affiliations:
  • Dartmouth College, Hanover, NH;Carnegie Mellon Univ., Pittsburgh, PA;Princeton Univ., Princeton, NJ/ and NEC Research Institute, Princeton, NJ

  • Venue:
  • Journal of the ACM (JACM)
  • Year:
  • 1994

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper considers the problem of representing stacks with catenation so that any stack, old or new, is available for access or update operations. This problem arises in the implementation of list-based and functional programming languages. A solution is proposed requiring constant time and space for each stack operation except catenation, which requires O(log log k) time and space. Here k is the number of stack operations done before the catenation. All the resource bounds are amortized over the sequence of operations.