Bogo Sort · Algorithm Archive
▻https://leios.gitbooks.io/algorithm-archive/content/chapters/fundamental_algorithms/sorting_searching/bogo/bogo_sort.html
function bogo_sort(Vector{Type} a)
while(!is_sorted(a))
shuffle(a)
end
end
J’adore cette méthode de tri \o/