data structure programming algorithm -


How to draw binary trees, whose list of predriders is ABCDF and whose post order list is DCBFFE. In addition, do the nodes of binary trees list indoor and level orders?

tree:

  a / \ / / \ cfh / / Dg  

Inder:

dcbagfeh

Level order (i.e. BFS):

abecfhdg


Comments