In response, Doug McIlroy, the inventor of UNIX pipes, wrote a UNIX shell script that solves the same problem in six lines: tr -cs A-Za-z '\n' | tr A-Z a-z | sort | uniq -c | sort -rn | sed $). Knuth came up with a 10-page-long Pascal solution. The portal can access those files and use them to remember the users data, such as their chosen settings (screen view, interface language, etc.), or their login data. Read a file of text, determine the n most frequently used words, and print out a sorted list of those words along with their frequencies. strings of text saved by a browser on the users device. Back in the 80s, Donald Knuth was asked to write a code that solves this problem: A while ago, I wrote an article about an interesting problem with an even more interesting story.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |