Talk:Sort the letters of string in alphabetical order: Difference between revisions

(Query about Slacksort)
Line 36:
== Slacksort ==
Would anyone be interested to see the Slacksort method developed further and added to the existing sort block of tasks? It may be too trivial, but it does offer some versatility. Asking ahead of time, in case it is undesirable to clutter up the site. Perhaps the algorithm goes by another name and is already there. --[[User:Enter your username|Enter your username]] ([[User talk:Enter your username|talk]]) 16:19, 25 July 2021 (UTC)
: I might suggest your Slacksort is a variant of [[Sorting_algorithms/Selection_sort]] except that one inefficiency of the latter is it can make multiple passes down the rest of the array in order to obtain the same minimum value, whereas one inefficiency of the former is it <del>can</del> will make multiple passes down the rest of the array that achieve nothing. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 20:15, 25 July 2021 (UTC)
7,794

edits