You can actually say big O of 1, big O of 1 being constant time, the same number of steps.
其复杂度为O,表示时间是一个常量,所用的步数是相同的。
N --O So we introduced this notation big O which generally refers to worst case.
的平方。,So,,N,squared。,这里我们介绍一个符号,它泛指最坏的情况。
I run out of the house and then usually around 3 o'clock somebody points out, in one case a homeless man, that I have a big glob of shaving cream in my ear or-- because I neglected to actually look in the mirror while I shaved.
然后冲出家门,大概到了下午三点时,会有人跟我说,有一次是一个流浪汉,告诉我,我耳朵上有一团剃须膏-,因为我剃须时忘了,照镜子。
应用推荐