Paper record
W2064750939Maintaining order in a linked list
Paul F. Dietz
- Year
- 1982
- Venue
- ACM Symposium on Theory of Computing (STOC)
- References
- 6
- Cited by
- 332
Details and counts from OpenAlex.
Abstract
We present a new representation for linked lists. This representation allows one to efficiently insert objects into the list and to quickly determine the order of list elements. The basic data structure, called an indexed 2-3 tree, allows one to do n inserts in O(nlogn) steps and to determine order in constant time. We speed up the algorithm by dividing the data structure up into log*n layers. The improved algorithm does n insertions and comparisons in O(nlog*n) steps. The paper concludes with two applications: determining ancestor relationships in a growing tree and maintaining a tree structured environment (context tree).