Python sets and dictionaries can have quadratic-time performance | Dark Hacker News