Step 1: Chose two random elements of list
Step 2: If the first element is bigger than the second, swap them
Step 3: Repeat until sorted
Aucun commentaire:
Enregistrer un commentaire