110k views
3 votes
A website organizes its list of contributors in alphabetical order by last name. The website’s new manager would prefer the contributor list to be ordered in reverse alphabetical order instead. Which classic algorithm would be best suited to complete this task?

Linear/Sequential Search


Selection Sort


Insertion Sort


None of these algorithms are viable options.

User Temeka
by
7.1k points

1 Answer

9 votes

Answer:

Selection Sort

Step-by-step explanation:

Linear Sort is useful for a small array, not for large ones like a list for a website.

Insertion Sort is useful for semi-organized arrays.

Therefore Selection Sort is the way to go.

User Strnk
by
7.6k points