2012International Journal of Computer ApplicationsOpen access

Modified Non-Recursive Algorithm for Reconstructing a Binary Tree

Nitin Arora, Vivek Kumar Tamta, Suresh Kumar

Open full text 22 citations

Abstract

Binary tree traversal refers to the process of visiting each node in a specified order.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.Many recursive and non recursive method of construction of the tree from inorder and any of the postorder or preorder traversal have been proposed.In this paper one of the proposed algorithms has been examined.This algorithm computes the wrong tree for some input sequences.We show a particular situation in which the algorithm fails and a solution for this situation is proposed.The proposed a modified non-recursive algorithm for reconstructing a binary tree which generates the correct tree otherwise an error has been reported.

Open-access reader

About this research paper

What this paper is about

Binary tree traversal refers to the process of visiting each node in a specified order.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.Many recursive and non recursive method of construction of the tree from inorder and any of the postorder or preorder traversal have been proposed.In this paper one of the proposed algorithms has been examined.This algorithm computes the wrong tree for some input sequences.We show a particular situation in which the algorithm fails and a solution for this situation is proposed.The proposed a modified non-recursive algorithm for reconstructing a binary tree which generates the correct tree otherwise an error has been reported.

Why it matters

OpenAlex reports 22 citations for this work. Citation counts describe recorded attention and do not establish research quality.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

Binary tree traversal refers to the process of visiting each node in a specified order.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.Many recursive and non recursive method of construction of the tree from inorder and any of the postorder or preorder traversal have been proposed.In this paper one of the proposed algorithms has been examined.This algorithm computes the wrong tree for some input sequences.We show a particular situation in which the algorithm fails and a solution for this situation is proposed.The proposed a modified non-recursive algorithm for reconstructing a binary tree which generates the correct tree otherwise an error has been reported.

Key concepts: Computer science, Binary tree, Binary number, Algorithm, Tree (set theory), Binary search tree, Theoretical computer science, Arithmetic

Related papers

Back to paper searchBrowse research topicsOriginal source
Modified Non-Recursive Algorithm for Reconstructing a Binary Tree — Research Paper | ScholarLens