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 Solvers28
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6677 Solvers
-
6435 Solvers
-
Read a column of numbers and interpolate missing data
2350 Solvers
-
241 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
897 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.