2024/07/18

LeetCode 192. Word Frequency

tr -s '[:space:]' '\n' < words.txt | sort | uniq -c | sort -nr | awk '{print $2, $1}'