Available question text
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.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Meta
Leetcode 192. Word Frequency
Interview reported: Sep 18, 2025 · 2 source reports
SENIOR, STAFF
Source snapshot: Nov 12, 2026
View source