Back to Search
Start Over
A Bounded Storage Algorithm for Copying Cyclic Structures.
- Source :
-
Communications of the ACM . Jun77, Vol. 20 Issue 6, p431-433. 3p. 2 Diagrams. - Publication Year :
- 1977
-
Abstract
- A new algorithm is presented which copies cyclic list structures using bounded workspace and linear time. Unlike a previous similar algorithms this one makes no assumptions about the storage allocation system in use and uses only operations likely to be available in a high-level language. The distinctive feature of this algorithm is a technique for traversing the structure twice. using the same spanning tree in each case first from left to right and then from right to left. [ABSTRACT FROM AUTHOR]
Details
- Language :
- English
- ISSN :
- 00010782
- Volume :
- 20
- Issue :
- 6
- Database :
- Academic Search Index
- Journal :
- Communications of the ACM
- Publication Type :
- Periodical
- Accession number :
- 5225294
- Full Text :
- https://doi.org/10.1145/359605.359628