diff --git a/slides/cours_7.md b/slides/cours_7.md index 1a709b5f648390773d445bfa2c4a9be42fc4d86e..016c2140e8d5934869e95c9fc7332716d003f4b9 100644 --- a/slides/cours_7.md +++ b/slides/cours_7.md @@ -140,7 +140,7 @@ int low, high; // les indices min/max des tableaux à trier ```C void quicksort(array, low, high) { - if (more than 2 elems) { + if (more than 1 elems) { pivot_ind = partition(array, low, high); if (something left of pivot) quicksort(array, low, pivot_ind - 1);