-
-
Save parzibyte/725a6b2730372241ab08229742da2a8e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void quicksort(int[] arreglo, int izquierda, int derecha) | |
{ | |
if (izquierda < derecha) | |
{ | |
int indiceParticion = particion(arreglo, izquierda, derecha); | |
quicksort(arreglo, izquierda, indiceParticion); | |
quicksort(arreglo, indiceParticion + 1, derecha); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment