What's the time complexity of list access in Python?

前端 未结 0 1008
北海茫月
北海茫月 2020-12-22 23:38

I\'m trying to make a python function as fast as I can. Let\'s suppose I have a prime list and I\'m calling primes[i] n times for the same i.

<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题