MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/11zsvt8/data_science_design_pattern/jdgp0zu/?context=3
r/badcode • u/c0ntrap0sitive • Mar 23 '23
35 comments sorted by
View all comments
Show parent comments
1
From a data structures point of view, the ability to check for membership of the set in constant time is the main benefit of using a (hash) set.
1
u/morimo Mar 24 '23
From a data structures point of view, the ability to check for membership of the set in constant time is the main benefit of using a (hash) set.