Aug-02-2020, 08:24 PM
I disagree. A set is very much like a list. It is a container class that holds multiple values. You can iterate through a set. Set is mutable like a list. You can add and remove things from a set. You can test if a set contains a value, like a list. If you were to list the similarities and the differences the two are more similar than not.
In this particular example I think set is mostly being used to eliminate duplicats in vocab. Maybe some of the set operations will be used in the application, but I doubt it.
In this particular example I think set is mostly being used to eliminate duplicats in vocab. Maybe some of the set operations will be used in the application, but I doubt it.