Documente Academic
Documente Profesional
Documente Cultură
Grupo Nº 1
Cristhian David Ramos
Cusihuaman
Jhon Edison Collantes
Hanampa
???????
Prof. Ing. William A. Chavez Espinoza. ???????
CONCEPTO
RECURSIVO:
for (i=1; i
x = a[i];
j = i - 1;
while ((j>-1) && (a[j]>x)) {
a[j+1] = a[j];
j = j - 1;
}
a[j+1] = x;
}
}
ALGORITMO TIPICO