|
|
|
|
|
by smokey42
4544 days ago
|
|
My pet problem after FizzBuzz has been this for some time now: You are given a text in a file. Count all the words in the
text and print out the words with their number of occurences
in descending order.
This can be depressing at times. |
|
Print number of words:
Print words with counts in decreasing order: There are optimizations to be made, but that would be my go to solution in the first instance.