Question: [ TRUE / FALSE ] Let T be a complete binary tree with n nodes. Finding a path from the root of T to a
TRUEFALSE
Let T be a complete binary tree with n nodes. Finding a path from the root of T to a
given vertex v in T using breadthfirst search takes Olog n
TRUEFALSE
A binary max heap can be converted to a binary min heap in On time.
TRUEFALSE
The runtime complexity of merge sort can be improved asymptotically by recursively
splitting the array into three parts rather than two parts.
TRUEFALSE
A graph G with nonunique edge weights can have a unique minimum spanning tree.
TRUEFALSE
A Fibonacci Heap extractmin operation has a worst case runtime of Olog n
TRUEFALSE
Prim's algorithm can be used to find the minimum spanning tree of a graph with negative
edge weights.
TRUEFALSE
When using the accounting method, if a sequence of n operations involves different
operations, it is possible for all operations to end up with the same amortized cost even if
their worst case costs are different.
TRUEFALSE
For the recurrence relation TnTnn the time complexity is theta n log n
TRUEFALSE
Every directed acyclic graph DAG has a unique topological ordering of its vertices.
TRUEFALSE
If all edge weights in a connected, undirected graph are distinct, the heaviest edge in the
graph cannot be part of any minimum spanning tree.
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
