Question #156805

1.  An array contains five numbers 12,5,7,-1,2 to be sorted. If after the first iteration, the array is now 5,7,-1, 2, 12. Which algorithm is being used?


a. insertion sort

b. merge sort

c. selection sort

d. Bubble sort



Expert's answer

c. selection sort


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS