Performance of list(…).insert(…)

后端 未结 3 1570
刺人心
刺人心 2021-01-01 22:24

I thought about the following question about computer\'s architecture. Suppose I do in Python

from bisect import bisect
index = bisect(x, a)      # O(log n)          


        
3条回答
提交回复
热议问题