Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 8, 2020 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/6a1b45c14c06a2f72ae63270b989e7d1 to your computer and use it in GitHub Desktop.
Save parzibyte/6a1b45c14c06a2f72ae63270b989e7d1 to your computer and use it in GitHub Desktop.
def quicksort(arreglo, izquierda, derecha):
if izquierda < derecha:
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