So binary search, the phonebook example, binary search on the pieces of paper on the white board, why is that?
是二分查找,例如电话簿的例子,对其中的某一页进行二分查找,为什么呢?
That the phonebook was sorted alphabetically and that the array of numbers on the board behind the second row of paper itself was sorted alphabetically.
电话簿是按照字母顺序排列的,而且黑板上第二排后面的一系列数字,也是按字母顺排列的。
Well recall from week zero when we took a very real world phonebook and then just last week we had our volunteer come up with the array of pieces of paper on the board and when I challenged myself and when I challenged our volunteer to find me the number 50 both he and I were able 50 to leverage one assumption.
大家回忆一下,当我们拿着一个现实世界的电话簿,就在上周我们的志愿者,在黑板上提出了纸片的阵列,我挑战自己,也挑战志愿者,要找出同一个,数字。
应用推荐