An Optimal Algorithm for Reconstructing a Binary Tree

Abstract We solve the difficult part of constructing a binary tree from its inorder and preorder traversals, finding the (right-son, parent) pairs, and outline an optimal parallel algorithm in the EREW PRAM model for constructing the binary tree.