Tag Archives: count letters

Sort words by letter count in C#

This example sorts words by letter count. It counts the number of distinct letters in a list of words and displays the words and their counts sorted by the counts. The program is remarkably simple. The following code shows how … Continue reading

Posted in algorithms, LINQ, mathematics | Tagged , , , , , , , , , , , | Leave a comment