Home » Programming & Data Structure » Programming and data structure miscellaneous » Question

Programming and data structure miscellaneous

Programming & Data Structure

  1. The inorder and preorder traversal of a binary tree are d b e a f c g and a b d e c f g, respectively The postorder traversal of the binary tree is.
    1. d e b f g c a
    2. e d b g f c a
    3. e d b f g c a
    4. d e f g b c a
Correct Option: A

In order d b e a f c g
preorder a b d e c f g
1st element of pre order is root

in preorder b is before d e. & c is before f g.



Your comments will be displayed only after manual approval.