Albertos a écrit :
arf oui j'etais pas tres precis, c'est pr classer un tablo de chaines de caracteres
genre un tablo qui contiendrai [e;d;b;a;c]
|
Ba après, tout dépend du langage utilisé, y a plein de trucs existants qui font ça très bien. Maintenant, sur les algos en eux-mêmes, bin cherche un brin sur Google avec "array alphabetical sort" ou un truc du style.
Une page sympa que j'avais trouvée y a pa longtemps : http://cs.smith.edu/~thiebaut/java/sort/demo.html Mais c'est pas spécifique aux chaînes.
---------------
Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient.