binary search
常見(jiàn)例句
- Now, as I do this, I'm going to use binary search.
現(xiàn)在當(dāng)我做這項(xiàng)工作的時(shí)候,我會(huì)用到二分搜索法。 - This idea of binary search is going to be a really powerful tool.
二分查找的思想,是一個(gè)非常有用的工具,我重復(fù)一遍,把問(wèn)題拆成幾部分來(lái)解決,那事實(shí)上,這里的增長(zhǎng)率是多少? - At least wide receivers have to run, whereas I can guarantee you, without fear of contradiction, that no software engineer will ever have to write a binary search after they are hired.
因?yàn)橹辽俳忧騿T是需要跑的,而我卻可以無(wú)所畏懼的向你保證,沒(méi)有哪個(gè)被聘用的軟件工程師必須寫(xiě)一個(gè)二分查找程序。 - So binary search, the phonebook example, binary search on the pieces of paper on the white board, why is that?
是二分查找,例如電話簿的例子,對(duì)其中的某一頁(yè)進(jìn)行二分查找,為什么呢?
哈佛公開(kāi)課 - 計(jì)算機(jī)科學(xué)課程節(jié)選 - 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.
我告訴了你們這是一個(gè)對(duì),數(shù)級(jí)的算法,這是很棒的,我們來(lái)一起看看這個(gè)算法到底做了什么。
麻省理工公開(kāi)課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選 - OK. Binary search is perhaps the simplest of the divide and conquer algorithms, and what does that mean? It says, in order to solve a problem, cut it down to a smaller problem and try and solve that one.
好了,二分搜索也許是,最簡(jiǎn)單的分治算法,這意味著什么?,也就是說(shuō),為了解決一個(gè)問(wèn)題,把它切割成小的問(wèn)題,然后再來(lái)一個(gè)個(gè)解決。
麻省理工公開(kāi)課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選 返回 binary search