What does O(log n) mean exactly?

后端 未结 30 2880
执念已碎
执念已碎 2020-11-22 01:19

I am learning about Big O Notation running times and amortized times. I understand the notion of O(n) linear time, meaning that the size of the input affects the g

30条回答
  •  渐次进展
    2020-11-22 01:45

    What's logb(n)?

    It is the number of times you can cut a log of length n repeatedly into b equal parts before reaching a section of size 1.

提交回复
热议问题