我更喜欢尽可能少的正式定义和简单的数学.
algorithm complexity-theory big-o computer-science time-complexity
可能重复: Big O的简单英文解释
很多时候,当谈到算法的时间复杂性时,也会考虑内存.我想知道big-O(1),big-O(n),big-O(n*n)内存是什么意思?
它与时间复杂性有何关系?
memory algorithm big-o
algorithm ×2
big-o ×2
complexity-theory ×1
computer-science ×1
memory ×1
time-complexity ×1