Question 151

Root A has children B and C; B has children D and E; C has child F. The preorder traversal is:

  1. AD E B F C A
  2. BA B C D E F
  3. CD B E A F C
  4. DA B D E C F
Show answerHide answer

Correct answer: (D) A B D E C F

Explanation

Root, left, right.

From DSSSB TGT Computer Science Full Mock Test 4

This is question 151 of DSSSB TGT Computer Science Full Mock Test 4. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.