mark


  • 0
    E

    AC by...

    echo -n $(cat words.txt) | sed 's/ /\n/g' | sort | uniq -c | sort -nr | awk -F ' ' '{print $2,$1}'
    

Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.