Question: Consider the following tree : 100 19 36 17 a) List (in order) the nodes that will be visited by a pre-order traversal. b) List

 Consider the following tree : 100 19 36 17 a) List

Consider the following tree : 100 19 36 17 a) List (in order) the nodes that will be visited by a pre-order traversal. b) List (in order) the nodes that will be visited by a postorder traversal c) This tree is a max-heap. Insert nodes 200 and 55 (in that order). Demonstrate your answer by drawing the tree after each insertion. d) Remove node 19 from the tree drawn above (do not consider nodes inserted in the previous question). Consider the following tree : 100 19 36 17 a) List (in order) the nodes that will be visited by a pre-order traversal. b) List (in order) the nodes that will be visited by a postorder traversal c) This tree is a max-heap. Insert nodes 200 and 55 (in that order). Demonstrate your answer by drawing the tree after each insertion. d) Remove node 19 from the tree drawn above (do not consider nodes inserted in the previous question)

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!