Question: 1 - 5 Consider a max heap T with 3 0 nodes represented by an array as discussed in class. How many swapping do we
Consider a max heap with nodes represented by an array as discussed in class. How many swapping do we need if a value smaller than all existing values is inserted? Where will the new value be placed? Answer the same questions above when a value larger than all existing values is inserted.
Given an undirected graph which has exactly two connected components and What is the relationship between the set of vertices of and the set of vertices of Let be the set of vertices of What is the relationship between and Briefly explain you answers.
ANS
Given a biconnected graph will the graph be connected after the removal of an edge? Will be connected after the removal of a vertex? Consider all possible cases and briefly explain your answer.
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
