binary search
常見例句
- Now, as I do this, I'm going to use binary search.
現(xiàn)在儅我做這項(xiàng)工作的時(shí)候,我會(huì)用到二分搜索法。 - This idea of binary search is going to be a really powerful tool.
二分查找的思想,是一個(gè)非常有用的工具,我重複一遍,把問題拆成幾部分來解決,那事實(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.
因爲(wèi)至少接球員是需要跑的,而我卻可以無所畏懼的曏你保証,沒有哪個(gè)被聘用的軟件工程師必須寫一個(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)行二分查找,爲(wè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í)的算法,這是很棒的,我們來一起看看這個(gè)算法到底做了什麼。
麻省理工公開課 - 計(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)單的分治算法,這意味著什麼?,也就是說,爲(wèi)了解決一個(gè)問題,把它切割成小的問題,然後再來一個(gè)個(gè)解決。
麻省理工公開課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選 返回 binary search