Still missing is a sorted list that allows duplicates.
目前仍然缺乏允许键重复的排序列表。
The sorted list will be instantiated to store information on books.
该排序后的表将用作储存关于书籍的相关信息。
To model this, you will define a generic list and use it to define a sorted list.
为了建立该模型,您将定义一个通用类型表并将它用作定义一个排序表。
OK? So the example I'm going to do, I'm going to search a sorted list.
来搜索目标元素,好,翻到课堂材料的第二页。
Again. Basic premise of binary search, or at least we set it up was, imagine I have a sorted list of elements. We get, in a second, to how we're going to get them sorted, and I want to know, is a particular element in that list..
好,二分查找的基本前提,或者是我们建立二分查找的基础,我们已经有了一个排好序的元素列表,我们就需要知道如何来快速的排序,如何从列表中找到特定的元素。
We don't seem to be doing that just yet, certainly not as badly, alright, so at this point in the story I have a sorted list of size 4.
当然现在我们不需要那样做,此时此刻,我已对整个问题中大小为4的列表排好序了。
应用推荐