Sorting cards using insertion sort
You are playing cards with a Spanish deck of cards, where each card has a number. You are given the following cards:

You like having them ordered in your hands, and you realize that insertion sort is a good way of sorting them.
What sequence will you follow if you sort them in ascending order using insertion sort?
Questo esercizio fa parte del corso
Data Structures and Algorithms in Python
Esercizio pratico interattivo
Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi
Inizia esercizio