标签:基本数据 基本 strong 时间复杂度 code height width 哈希 时间
内部实现是数组
内部实现是hash函数+哈希桶。一个好的hash函数使到哈希桶中的值只有一个,若多个key hash到了同一个哈希桶中,称之为哈希冲突。
内部实现是dict
参考文献:
【1】python基本数据类型的时间复杂度 - 简书
python基本数据类型的时间复杂度
原文地址:https://www.cnblogs.com/nxf-rabbit75/p/11669900.html