Template:Sorting Algorithm: Difference between revisions

From Rosetta Code
Content added Content deleted
(Fix Bead Sort link)
(Sort the sorts in the infobox by algorithmic efficiency)
Line 3:
This is a sorting algorithm. It may be applied to a set of data in order to sort it.
 
For other sorting algorithms, see [[:Category:Sorting Algorithms]], or:<br><small><center><b>O(''n'' log''n'') Sorts</b><br>[[Sorting algorithms/BeadHeapsort|Heapsort]] Sort|Bead Sort[[Sorting algorithms/Merge sort|Mergesort]] | [[Sorting algorithms/BogosortQuicksort|BogosortQuicksort]]<br><b>O(''n'' |log<sup>2</sup>''n'') Sorts</b><br>[[Sorting algorithms/BubbleShell sort|BubbleShell&nbsp;Sort]]<br><b>O(''n''<sup>2</sup>) | Sorts</b><br>[[Sorting algorithms/CocktailBubble sort|CocktailBubble&nbsp;Sort]] | [[Sorting algorithms/CombCocktail sort|CombCocktail&nbsp;Sort]] | [[Sorting algorithms/CountingComb sort|CountingComb&nbsp;Sort]] | [[Sorting algorithms/Gnome sort|Gnome&nbsp;Sort]] | [[Sorting algorithms/HeapsortInsertion sort|HeapsortInsertion&nbsp;Sort]] | [[Sorting algorithms/InsertionSelection sort|InsertionSelection&nbsp;Sort]]<br><b>Other | Sorts</b><br>[[Sorting algorithms/MergeBead sortSort|MergesortBead&nbsp;Sort]] | [[Sorting algorithms/Permutation sortBogosort|Permutation&nbsp;SortBogosort]] | [[Sorting algorithms/QuicksortCounting sort|QuicksortCounting&nbsp;Sort]] | [[Sorting algorithms/SelectionPancake sort|SelectionPancake&nbsp;Sort]] | [[Sorting algorithms/ShellPermutation sort|ShellPermutation&nbsp;Sort]] | [[Sorting algorithms/Stooge sort|Stooge&nbsp;Sort]]</center></small>
</div><includeonly>[[Category:Sorting Algorithms]]</includeonly><noinclude>{{template}}</noinclude>

Revision as of 15:29, 31 August 2010

Sorting Algorithm
This is a sorting algorithm. It may be applied to a set of data in order to sort it.

For other sorting algorithms, see Category:Sorting Algorithms, or:
O(n logn) Sorts
Heapsort | Mergesort | Quicksort
O(n log2n) Sorts
Shell Sort
O(n2) Sorts
Bubble Sort | Cocktail Sort | Comb Sort | Gnome Sort | Insertion Sort | Selection Sort
Other Sorts
Bead Sort | Bogosort | Counting Sort | Pancake Sort | Permutation Sort | Stooge Sort

This is a template. There are many others. See Category:RCTemplates for a complete list of templates.