Skip to content
RED SAGSkills
easy5 pts · first answer countssorting-and-searching

Swaps made by selection sort

Selection sort is sometimes chosen when writes are expensive (for example, on flash memory). How many swaps does it make on an array of n items in the worst case?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions