Question:medium

Consider following statements about time complexity :
A. Merge sort and heap sort have $O(n \log n)$ in worst case

B. Quick sort has $O(n \log n)$ in average case and $O(n^2)$ in worst case

C. Insertion sort is faster than merge sort for large $n$

D. Bubble sort is stable

E. Selection sort has fewer swap than insertion sort

Choose the correct answer from the options given below :

Show Hint

Selection sort is the best choice when the cost of "swapping" memory is very high, because it minimizes the total number of swaps.
Updated On: Jun 6, 2026
  • B, C, E only
  • A, C, D only
  • A, B, C only
  • A, B, D, E only
Show Solution

The Correct Option is D

Solution and Explanation

Was this answer helpful?
0

Top Questions on Algorithm


Questions Asked in CUET (PG) exam