Question: CSCI - 3 3 1 0 Homework 9 - 1 0 Problem 1 . Consider ( G = ( V , E )
CSCI Homework
Problem Consider GV E for figure where V is the vertexnodes and E is the edges. Hint: for example, for Va b and the edge would be Eleftea bright
Write down set of V and E
Is G a tree if f is a root? If yes, write down the value of m for mary tree. If no explain why.
What is the height of the tree if f is root?
Suppose the current height of the tree with root f is H You want to insert a node j to increase the maximum height. Where would you insert it Draw it out.
Figure : Graph for Problem
Problem Consider Figure again. Write down the adjacent nodes for v and v write down the adjacency matrix in the order of vv
Problem Given nodes, construct a binary tree with the following requirement:
Draw a tree with minimum height.
Draw a tree with maximum height.
Prove that your solution for by mathematical induction.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
