Algorithme de Selection Sort
page 35
1️⃣ Créer un programme Python
ayant comme nom de fichier, votre 🆔 Boréal précédé d'un b
Example de nom de fichier b300098957.py
2️⃣ Écrire le programme de tri par sélection dans une fonction ayant la signature suivante:
def selectionSort(arr):
Example:
print( selectionSort([5, 3, 6, 2, 10]) # Affiche le résultalt d'un Tri dans un ordre croissant
#️⃣ | Boréal 🆔 | Execution | Notation |
---|