Question:

Which algorithm sort the array in exactly using 2 swap [4,3,2,1,5]?

Updated On: Feb 8, 2024
  • Selection sort
  • Insertion sort
  • Bubble sort
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

The correct answer is option (C): Bubble sort.

Was this answer helpful?
0
0