Question: This is a question about Data Structure. Problem 1: (2 points) One tree includes the following parent-child relationship. A,C (1) Please draw the tree (2)
Problem 1: (2 points) One tree includes the following parent-child relationship. A,C (1) Please draw the tree (2) Which node is root, which nodes are leaf (3) which node is G's parent, Which nodes are G's ancestors, Which nodes are G's child 4) Which are E's descendant, Which are E's siblings, which are F's siblings (5) What is B's depth, which is N's depth, (6) Tree's height, The height of the tree whose root is at C
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
