|
ABSTRACT
An algorithm to copy a binary tree in linear time using bounded workspace is presented. The algorithm does not modify the original tree at any time. The copy is constructed in such a way that it can be traversed in a read-only fashion even before the copying process is complete, provided one can distinguish between the original and the copy. The traversal can be carried out in parallel with the copying.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
Clark, D.W. A fast algorithm for copying binary trees, lnform. Processing Letters 4 (1975), 62-63.
|
 |
3
|
|
 |
4
|
|
 |
5
|
|
| |
6
|
Horowitz, E., and Sahni, S. Fundamentals of Data Structures. Comptr. Sci. Press, Woodland Hills, Calif., 1976.
|
| |
7
|
Lindstrom, G. Scanning list structures without stacks or tag bits. Inform. Processing Letters 2 (1973), 47~51.
|
 |
8
|
|
 |
9
|
|
| |
10
|
Wang, C.C. A linear algorithm for copying binary trees using bounded workspace. Tech. Rep. No. 43-78, Dept. of Comptr. Sci., Univ. of Kentucky.
|
|