Computer Science, asked by siyaramjaiswal58, 5 months ago

how many swaps will be performed in selection sort in worst case ​

Answers

Answered by Anonymous
0

Answer:Worst case of number of swaps is n-1. But it does not occur for the just the oppositely ordered input, rather the oppositely ordered input like 6,5,3,2,1 does not take the worst number of swaps rather it takes n/2 swaps

Explanation:

Similar questions