Sorting algorithms/Gnome sort: Difference between revisions

Content added Content deleted
m (formatting: reduce whitespace in description)
Line 5:
 
The pseudocode for the algorithm is:
<br clear=all>
'''function''' gnomeSort(a[0..size-1]) {
i := 1