Two algorithms for constructing a binary tree from its traversals

From MaRDI portal
(Redirected from Publication:1111397)





Given the inorder traversal of a binary tree, along with one of its preorder or postorder traversals, the original binary tree can be uniquely identified. We present two construction algorithms: one, which requires O(N) time, is time optimal but space inefficient, and the other requires O(N log N) time and O(N) space.











This page was built for publication: Two algorithms for constructing a binary tree from its traversals

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