What is a Hash Set?
Similar to a Hash Map/Dictionary… except we are only storing provided keys, not provided values.
Useful for uniqueness or frequency.
So we could have an array with [(“tom”, 1), (“jenny”, 3), (“zack”, 2)] where we just search for the name and then do some processing on a value we have assigned as part of the function (not part of the data set).
[(“tom”, 1), (“jenny”, 3), (“zack”, 2)]
Zuletzt geändertvor einem Monat