Sorting algorithms/Selection sort: Difference between revisions

m
imported>Lacika7
mNo edit summary
imported>Arakov
Line 1,550:
 
=={{header|Elena}}==
ELENA 56.0x :
<syntaxhighlight lang="elena">import extensions;
import system'routines;
Line 1,560:
var copy := self.clone();
for(int i := 0,; i < copy.Length,; i += 1)
{
int k := i;
for(int j := i + 1,; j < copy.Length,; j += 1)
{
if (copy[j] < copy[k])
Anonymous user