ALGORITMOS DE BÚSQUEDA Y ORDENACIÓN
ALGORITMOS DE BÚSQUEDA Y ORDENACIÓN
ALGORITMOS DE BÚSQUEDA Y ORDENACIÓN
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
OR<strong>DE</strong>NACIÓN RÁPIDA,<br />
TRAZA PARA UN EJEMPLO<br />
V=[0,5,15,9,11]<br />
1. Sortdesdehasta(v,1,5) p=v[3]=15<br />
i=1 [0,5,15,9,11] 05<br />
i=3 j=1 [0,5,11,9] intercambio. Salida bucle<br />
1.1.1.sortdesdehasta(v,3,4) p=v[3]=11<br />
i=3 [11,9] 11 not 11<br />
i=4 j=3 [9,11] intercambio. Salida bucle