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?
Deze oefening maakt deel uit van de cursus
Data Structures and Algorithms in Python
Praktische interactieve oefening
Zet theorie om in actie met een van onze interactieve oefeningen.
Begin met trainen