所以给出以下程序:
这个程序的时间复杂度是O(0)吗?换句话说,是0 O(0)?
我想在一个单独的问题,回答这个问题将阐明一些轻这个问题.
编辑:这里有很多好的答案!我们都同意0是O(1).问题是,0 O(0)也是?
theory algorithm math big-o
algorithm ×1
big-o ×1
math ×1
theory ×1