Br櫣schweiler算法 Brüschweiler algorithm
So I'm going to solve this by enumerate and check, which is an example of what's called a brute-force algorithm.
你懂的,所以我得靠列举和检验来解决这个问题,这就是我们说的穷举算法。
The idea behind all these algorithms is that what's ultimately important is how many comparisons you ultimately need to make.
这些算法的思想是,你最终需要做多少次的比较,这才是真正重要的。
We started off talking about binary search, and I suggested that this was a log algorithm which it is, which is really kind of nice.
我告诉了你们这是一个对,数级的算法,这是很棒的,我们来一起看看这个算法到底做了什么。
应用推荐