DocumentCode
3420095
Title
A New Non-recursive Algorithm for Reconstructing a Binary Tree from its Traversals
Author
Das, Vinu V.
Author_Institution
Tabor Eng. Network Pvt. Ltd., Trivandrum, India
fYear
2010
fDate
16-17 Oct. 2010
Firstpage
261
Lastpage
263
Abstract
This paper presents a new non-recursive algorithm for reconstructing a binary tree from its traversals. Binary tree traversal refers to the process of visiting each node in a specified order. Given the in order traversal of a binary tree, along with one of its preorder or post order traversals, the original binary tree can be uniquely identified. This algorithm is efficient and requires O(n) time and O(n) space. The implementation of this algorithm was done in C and the complete algorithm was tested. The new algorithm was found to be faster than other non-recursive algorithms.
Keywords
computational complexity; tree data structures; binary tree reconstruction; binary tree traversal; nonrecursive algorithm; postorder traversal; preorder traversal; Algorithm design and analysis; Arrays; Binary trees; Books; Complexity theory; Indexes; Reconstruction algorithms; Binary Tree Reconstruction; Non Recursive Algorithm; Traversal;
fLanguage
English
Publisher
ieee
Conference_Titel
Advances in Recent Technologies in Communication and Computing (ARTCom), 2010 International Conference on
Conference_Location
Kottayam
Print_ISBN
978-1-4244-8093-7
Electronic_ISBN
978-0-7695-4201-0
Type
conf
DOI
10.1109/ARTCom.2010.88
Filename
5656782
Link To Document