Publication View

Rebuilding a Tree From Its Traversals: A Case Study of Program Inversion (2003)

Abstract
Given the inorder and preorder traversal of a binary tree whose labels are all distinct, one can reconstruct the tree. This article examines two existing algorithms for rebuilding the tree in a functional framework, using existing theory on function inversion. We also present a new, although complicated, algorithm by trying another possibility not explored before.

Publication details
Download http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.6.1166
Source http://www.ipl.t.u-tokyo.ac.jp/~scm/pub/rebuild.ps.gz
Contributors CiteSeerX
Repository CiteSeerX - Scientific Literature Digital Library and Search Engine (United States)
Type text
Language English
Relation 10.1.1.40.9181, 10.1.1.39.4972, 10.1.1.19.5610, 10.1.1.67.1147