Y
Hacker News
new
|
ask
|
show
|
jobs
by
petdog
5989 days ago
Seriously? You must enjoy your O(n^2).
1 comments
RyanMcGreal
5989 days ago
The sets I'm working on tend not to tend toward infinity.
link
eru
5988 days ago
Yes. But the approach with index only works for actual sets. And if you have actual sets, you might as well use Python's built-in sets.
link