Question: Select all the statements below which are TRUE. Consider a decision tree T with height h = 3 corresponding to comparison sort of n elements.

Select all the statements below which are TRUE.

Consider a decision tree T with height h = 3 corresponding to comparison sort of n elements. Then the number of leaves can be 9.

Let A[1..n] be a max-heap. Then the first order statistic is A[1].

Let A[1..n] be a max-heap. Then the minimum value in the heap is in the subarray A[PARENT(n)+1 n].

Quick sort runs very fast in practice.

If f(n) = (g(n)), then f(n) = (g(n)).

Counting sort is stable.

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!