Skip to content

Commit 637dab0

Browse files
committed
Added solution of problem 192
1 parent ca1df89 commit 637dab0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/solutions/s0192_word_frequency.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
awk '{for(i=1;i<=NF;i++) count[$i]++} END {for(word in count) print word, count[word]}' words.txt | sort -k2,2nr

0 commit comments

Comments
 (0)