in reply to Re^2: how to construct tree from parent pointer listin thread how to construct tree from parent pointer list