a)Unit 3Construct a Binary tree for the given traversals (Postorder and Inorder). Also, find the Preorder traversal of the Binary tree so formed.
Construct a Binary tree for the given traversals (Postorder and Inorder). Also, find the Preorder traversal of the Binary tree so formed.
b)Unit 3How a tree can be stored in the memory? Explain with an example. Explain the advantages and disadvantages of the array representation of a tree.
How a tree can be stored in the memory? Explain with an example. Explain the advantages and disadvantages of the array representation of a tree.