Linear Time and Space Reconstruction of a Binary Tree from Its Pre-Order and In-Order Traversals

Authors

  • Adrian Deaconu Transilvania University of Brasov, Romania

Keywords:

pre-order, in-order traversals, tree (re)construction, Divide and Conquer method

Abstract

In this paper, a new idea using some special data structure for the reconstruction of a binary tree from its pre-order and in-order traversals in linear time and space is presented. The reconstruction of the binary tree from its in-order and post-order traversals is also studied.

Published

2007-01-15

Issue

Section

INFORMATICS