我正在Stack Overflow 上浏览这个答案。我来了解存在OrderedSet于Python的。我想知道它是如何在内部实现的。它类似于集合的哈希表实现吗?
OrderedSet
另外,插入、删除、查找等一些常见操作的时间复杂度是多少?
python time-complexity ordered-set
ordered-set ×1
python ×1
time-complexity ×1