A

Admin • 833K Points
Coach

Q. Which of the following sorting algorithm is NOT stable?

  • (A) selection sort
  • (B) brick sort
  • (C) bubble sort
  • (D) merge sort

Explanation by: Admin

out of the given options selection sort is the only algorithm which is not stable. it is because the order of identical elements in sorted output may be different from input array.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.