✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
L'algorithme du tri à bulle trie un tableau en plaçant à chaque itération le plus grand élément à sa place. En arrêtant l'algorithme dès que le tableau est trié, en combien d'itérations le tableau int T[6] = {-1, 3, 42, 21, 11, 13} est-il trié ?