For example, if the complexity order of the current technique is O(n**2), speeding up the steps by 10x is a lot less helpful than finding an O(n) substitute.
例如,如果当前技术的复杂性等级是 O(n**2),那么将这些步骤加速 10 倍远不及寻找 O(n) 替代品来得有用。
Substitute "n" with the preference order in which you want it to be picked by the JRE — the lower the number, the higher the order.
用n表示替优先顺序,JRE通过它来挑选——数字越低,优先权越高。
How do I rea-- replace the expression FOR t of n minus 1? Substitute it in again.
我们怎么来代替t这个表达式呢?,再来替换掉它,t等于。
If you substitute it all in, you get basically order 2 to the n.
得到的是2的n次方个基本问题,指数级的,这是个问题,好。
应用推荐