Which of the following options present the correct postorder and preorder…

DSSSB TGT/PGT · 2018 · PGT Computer Science (Male) · 27 Jul 2018 · Shift 2 · Section II: subject

Which of the following options present the correct postorder and preorder traversals of the following binary tree?

image.png

  1. A.

    Postorder: A, C, E, D, B, H, I, G, F
    Preorder: F, B, A, D, C, E, I, G, H

  2. B.

    Postorder: A, C, E, D, B, H, I, G, F
    Preorder: F, B, A, D, C, E, G, I, H

  3. C.

    Postorder: A, C, E, D, B, H, I, G, F
    Preorder: F, B, A, D, E, C, G, I, H

  4. D.

    Postorder: A, C, D, E, B, H, I, G, F
    Preorder: F, B, A, D, C, E, G, I, H

Attempted by 554 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…