Template:Sorting Algorithm: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Linkify big O)
(Add strand sort)
Line 3: Line 3:
This is a sorting algorithm. It may be applied to a set of data in order to sort it.
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/Heapsort|Heapsort]] | [[Sorting algorithms/Merge sort|Mergesort]] | [[Sorting algorithms/Quicksort|Quicksort]]<br><b>[[O]](''n'' log<sup>2</sup>''n'') Sorts</b><br>[[Sorting algorithms/Shell sort|Shell&nbsp;Sort]]<br><b>[[O]](''n''<sup>2</sup>) Sorts</b><br>[[Sorting algorithms/Bubble sort|Bubble&nbsp;sort]] | [[Sorting algorithms/Cocktail sort|Cocktail&nbsp;sort]] | [[Sorting algorithms/Comb sort|Comb&nbsp;sort]] | [[Sorting algorithms/Gnome sort|Gnome&nbsp;sort]] | [[Sorting algorithms/Insertion sort|Insertion&nbsp;sort]] | [[Sorting algorithms/Selection sort|Selection&nbsp;sort]]<br><b>Other Sorts</b><br>[[Sorting algorithms/Bead sort|Bead&nbsp;sort]] | [[Sorting algorithms/Bogosort|Bogosort]] | [[Sorting algorithms/Counting sort|Counting&nbsp;sort]] | [[Sorting algorithms/Pancake sort|Pancake&nbsp;sort]] | [[Sorting algorithms/Permutation sort|Permutation&nbsp;sort]] | [[Sorting algorithms/Radix sort|Radix&nbsp;sort]] | [[Sorting algorithms/Stooge sort|Stooge&nbsp;sort]]</center></small>
For other sorting algorithms, see [[:Category:Sorting Algorithms]], or:<br><small><center><b>[[O]](''n'' log''n'') Sorts</b><br>[[Sorting algorithms/Heapsort|Heapsort]] | [[Sorting algorithms/Merge sort|Mergesort]] | [[Sorting algorithms/Quicksort|Quicksort]]<br><b>[[O]](''n'' log<sup>2</sup>''n'') Sorts</b><br>[[Sorting algorithms/Shell sort|Shell&nbsp;Sort]]<br><b>[[O]](''n''<sup>2</sup>) Sorts</b><br>[[Sorting algorithms/Bubble sort|Bubble&nbsp;sort]] | [[Sorting algorithms/Cocktail sort|Cocktail&nbsp;sort]] | [[Sorting algorithms/Comb sort|Comb&nbsp;sort]] | [[Sorting algorithms/Gnome sort|Gnome&nbsp;sort]] | [[Sorting algorithms/Insertion sort|Insertion&nbsp;sort]] | [[Sorting algorithms/Selection sort|Selection&nbsp;sort]] | [[Sorting algorithms/Strand sort|Strand&nbsp;sort]] <br><b>Other Sorts</b><br>[[Sorting algorithms/Bead sort|Bead&nbsp;sort]] | [[Sorting algorithms/Bogosort|Bogosort]] | [[Sorting algorithms/Counting sort|Counting&nbsp;sort]] | [[Sorting algorithms/Pancake sort|Pancake&nbsp;sort]] | [[Sorting algorithms/Permutation sort|Permutation&nbsp;sort]] | [[Sorting algorithms/Radix sort|Radix&nbsp;sort]] | [[Sorting algorithms/Stooge sort|Stooge&nbsp;sort]]</center></small>
</div><includeonly>[[Category:Sorting Algorithms]]</includeonly><noinclude>{{template}}</noinclude>
</div><includeonly>[[Category:Sorting Algorithms]]</includeonly><noinclude>{{template}}</noinclude>

Revision as of 17:39, 5 May 2011

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 | Strand sort
Other Sorts
Bead sort | Bogosort | Counting sort | Pancake sort | Permutation sort | Radix sort | Stooge sort

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