Count Frequencies
easyDescription & examples
Count how often each lowercase word appears. Return a dictionary in Python or a plain object in JavaScript mapping each word to its count. Key order does not matter.
Examples
words = ["fox", "owl", "fox"] → {"fox": 2, "owl": 1}
words = [] → {}
Constraints
0 ≤ number of words ≤ 10,000. Each word contains 1–30 lowercase English letters.
Guided help
Take one nudge at a time. The full walkthrough opens only after you choose Show Solution.
