Time Complexity of List creation in Python

前端 未结 0 978
孤独总比滥情好
孤独总比滥情好 2020-12-12 09:55

If you initialize a list in python like this:

l = list(1,2,3,4....N)

or

l = list(range(N))

or

l = list(str

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