Python sets and dictionaries can have quadratic-time performance
kept by marigoldb
Python's built‑in set and dict types can exhibit quadratic‑time behavior when many elements hash to the same bucket, causing worst‑case O(n²) performance.