如果有2个algorthim计算具有不同复杂性的相同结果,那么O(log n)总是会更快吗?如果是这样请解释.顺便说一句,这不是一个任务问题.
algorithm complexity-theory
algorithm ×1
complexity-theory ×1