Morris' tree traversal algorithm reconsidered

From MaRDI portal





Algorithms of D. E. Knuth [\textit{D. E. Knuth}, The art of computer programming, Vol. 1: Fundamental Algorithms (Addison Wesley, (1968; Zbl 0191.179)] and of J. M. Morris [\textit{J. M. Morris}, Traversing binary trees simply and cheaply, Inf. Process. Lett. 9, 197-200 (1979; Zbl 0422.68028)] for traversing binary trees are reproduced and discussed. As result it is shown that the Morris algorithm uses a stack what is not seen at the first glance. In this formal proof, control structure transformations are used.











This page was built for publication: Morris' tree traversal algorithm reconsidered

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q1122985)