Fully persistent lists with catenation
Fully persistent lists with catenation
复制标题
带串联的完全持久列表
DOI:
--
复制
发表时间:
1991
期刊:
影响因子:
--
通讯作者:
R. Tarjan
中科院分区:
文献类型:
--
作者:
James R. Driscoll;D. Sleator;R. Tarjan
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.