To solve your problem, you can use `list.toHashSet...
# getting-started
r
To solve your problem, you can use
list.toHashSet()
(which will create the
HashSet
for you)