adplus-dvertising
frame-decoration

Question

What is not true about insertion sort?

a.

Exhibits the worst case performance when the initial array is sorted in reverse order.

b.

Worst case and average case performance is Ο(n2)

c.

Can be compared to the way a card player arranges his card from a card deck.

d.

None of the above.

Answer: (d).None of the above.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is not true about insertion sort?

Similar Questions

Discover Related MCQs

Q. Which of the following has search efficiency of Ο(1) −

Q. Which of the following algorithm is not stable?

Q. Which of the below mentioned sorting algorithms are not stable?

Q. A pivot element to partition unsorted list is used in

Q. Which of the following algorithm does not divide the list −

Q. Time required to merge two sorted lists of size m and n, is

Q. Quick sort algorithm is an example of

Q. Quick sort running time depends on the selection of

Q. Which one of the below is not divide and conquer approach?

Q. Which of the following searching techniques do not require the data to be in sorted form

Q. Which of the below given sorting techniques has highest best-case runtime complexity

Q. How many swaps are required to sort the given array using bubble sort - { 2, 5, 1, 3, 4} ?

Q. An adaptive sorting algorithm −

Q. The following sorting algorithms maintain two sub-lists, one sorted and one to be sorted −

Q. The worst case complexity of binary search matches with −

Q. The number of comparisons done by sequential search is ………………

Q. In ……………, search start at the beginning of the list and check every element in the list.

Q. State True or False.

i) Binary search is used for searching in a sorted array.

ii) The time complexity of binary search is O(logn).

Q. Which of the following is not the internal sort?

Q. In general, the binary search method needs no more than ……………. comparisons.