Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 192. Word Frequency
Count the occurrences of each distinct lowercase word in words.txt and output each word with its frequency sorted by descending count. The input contains only lowercase letters and spaces (word counts are unique), and the solution should be expressible as a one-line Unix pipeline.
Asked at:
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Mid September, 2025
Meta
Staff
Mid September, 2025
Meta
Senior
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.