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 Solvers33
Suggested Problems
-
Project Euler: Problem 2, Sum of even Fibonacci
2890 Solvers
-
Create a square matrix of multiples
501 Solvers
-
The Answer to Life, the Universe, and Everything
583 Solvers
-
The last non-zero digit of a factorial
77 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1830 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.