June 2018 Update

This commit is contained in:
Ingy döt Net 2018-06-22 20:57:24 +00:00
parent ba8067c3b7
commit 22f33d4004
5278 changed files with 84726 additions and 14379 deletions

View file

@ -1,5 +1,7 @@
{{Sorting Algorithm}}
{{Wikipedia|Gnome sort}}
Gnome sort is a sorting algorithm which is similar to [[Insertion sort]], except that moving an element to its proper place is accomplished by a series of swaps, as in [[Bubble Sort]].
The pseudocode for the algorithm is:
@ -21,4 +23,7 @@ The pseudocode for the algorithm is:
'''endif'''
'''done'''
'''Task''': implement the Gnome sort in your language to sort an array (or list) of numbers.
;Task:
Implement the Gnome sort in your language to sort an array (or list) of numbers.
<br><br>