The Bacon number is the number of steps it takes for them to get to Kevin Bacon.
这个 Bacon 数就是他们找到 Kevin Bacon 的步数。
My advice is that you not pay attention to the number of steps and ingredients, because they can be deceiving.
我的建议是,不要注意步骤和配料的数量,因为它们可能具有欺骗性。
The other obvious one to do would be worst case. Again, over all possible inputs to this function, what's the most number of steps it takes to do the computation?
很明显另一种就是针对最坏的情况了,也就是在所有可能的输入,里面选出用的,步骤最多的那个输入?
You rotate the letters by a deterministic amount, by a fixed number of steps so that the end result is actually something that can be reversed.
你用确定的数量旋转那些字母,通过一个固定数量的步骤,这样,最终结果是可以把它,反加密出来。
In fact, it took the same number of steps as it did in the other case, because each time I'm cutting it down by a half.
因为每次我都把问题的规模,缩小一半,这很棒,好,接下来让我们这么做。
应用推荐