BaşlayınÜcretsiz Başlayın

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:

Image with some cards from a Spanish deck of 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?

Bu egzersiz

Data Structures and Algorithms in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

İnteraktif egzersizlerimizden biriyle teoriyi pratiğe dökün

Egzersizi başlat