Given a document file or a character array, find out the most frequent word in that document.
In the case of multiple words - show the word with lower ASCII value.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers34
Suggested Problems
-
Remove the small words from a list of words.
1566 Solvers
-
384 Solvers
-
Project Euler: Problem 7, Nth prime
1778 Solvers
-
465 Solvers
-
Combinations without using nchoosek
140 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Why is the answer to Test 2 "Everything" and not "in"?
@ChrisR: I presume that the author means that, in case of a tie, return the word that starts with the character having the lowest ASCII value.