Question: A binary tree with the following adjacency lists is given ( B is the root ; format is: node: leftSon, rightSon): B: C, H C:

A binary tree with the following adjacency lists is given ( B is the root ; format is: node: leftSon, rightSon): B: C, H C: D, E D: null, null E: F, G F: null, null G: null, null H: I, L I: J, K J: null, null K: null, null L: M, null M: null, null

Mark the true statements: Printing the labels in the pre-order results in the sequence: DFGECJKIMLHB Printing the labels in the in-order results in the sequence: DCFEGBJIKHML Printing the labels in the post-order results in the sequence: LMHKIJBGEFCD

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!