2021 | OriginalPaper | Buchkapitel
Dictionaries and Sets
verfasst von : Noel Kalicharan
Erschienen in: Julia - Bit by Bit
In this chapter, we will explain the following: What is a dictionary (Dict) How to create and use dictionaries How to implement a letter-frequency program using a Dict What is a Set Operations on sets: union, union!, intersect, etc. How to use a Set to find all unique words in an input file How to build a thesaurus from lines of synonyms How to generate all combinations and permutations of a set How to write a program to evaluate a hand in Scrabble