M

Mr. Dubey • 100.69K Points
Coach

Q. The given array is arr = {1,2,3,4,5}. (bubble sort is implemented with a flag variable)The number of iterations in selection sort and bubble sort respectively are,

  • (A) 5 and 4
  • (B) 1 and 4
  • (C) 0 and 4
  • (D) 4 and 1
Share

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics