RE: Creating Binary Tree from a given Postorder/Inorder/Preorder traversal data 05-27-2014, 03:36 PM
#2
My english is too poor, so I can't explain you the logic for finding solution, but binary tree is in the code tag.
I hope it will help you.
I hope it will help you.
Code:
..........G..........
..........|..........
......../...\........
....../.......\......
.....B.........P.....
..../.\......./.\....
...Q...A.....D...R...
.......|.....|...|...
.......C.....E...H...
....../.\............
.....K...F...........
![[+]](https://sinister.li/images/modern/collapse_collapsed.png)