Top 10 Frequent Words in a Book
Given a book text book, return the 10 distinct words with the highest frequencies, ordered from most frequent to least frequent.
- Matching is case-insensitive:
Landandlandare the same w...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
