2021 | OriginalPaper | Chapter
Dictionaries and Sets
Author : Noel Kalicharan
Published in: Julia - Bit by Bit
Publisher: Springer International Publishing
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