Non-Recursive Approach for Reconstructing a Binary Tree
Autor: | Arora, Nitin |
---|---|
EAN: | 9786139835720 |
Sachgruppe: | Mathematik |
Sprache: | Englisch |
Seitenzahl: | 60 |
Produktart: | Kartoniert / Broschiert |
Veröffentlichungsdatum: | 14.05.2018 |
35,90 €*
Die Verfügbarkeit wird nach ihrer Bestellung bei uns geprüft.
Bücher sind in der Regel innerhalb von 1-2 Werktagen abholbereit.
A tree is a fundamental structure in Computer Science. Almost all operating systems store files in trees or tree-like structures. It is well known that given the in-order traverse of a binary tree, along with one of its pre-order or post-order traversals, the original binary tree can be uniquely identified. It is not difficult to write a recursive algorithm to reconstruct the binary tree. Most textbooks and reference books present the recursive and non-recursive algorithms for traversing a binary tree in in-order, post-order and pre-order. Many reconstruction algorithms for binary tree have been discussed in this book.