Skip to content
RED SAG Skills
easyStudy question · answer published in Data Structures and Algorithms interview questions, so no pointssorting-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