Maybe try using a `Set<String>` if you don't...
# codereview
d
Maybe try using a
Set<String>
if you don't need to track duplicates. Any equality operation between two unsorted lists is going to be relatively expensive.