So in this case, one of the standard ways to do this, is to use what's called a linked list.
标准的处理方法是使用链表,我接下来也准备这么做。
You're looking at your watch, it's reached 10 minutes.
你不时看看表。10分钟已过去了。
In this case, the total fat, which is twelve grams, constitutes 18% of a day's allowance of fat for the typical 200 calorie diet.
在此表中,脂肪总量是十二克,占了日脂肪建议摄取量的18%,以两百卡为标准
This is exactly the sheet here, it's exactly what you'll get on exam day.
这就是那张表,考试的时候你拿到的也会是一模一样的一张表。
So let's think about lists. So if l is a list, l sort I can call something like s dot sort, l dot sort.
所以让我们想想链表,所以如果l是一个,链表我可以调用像是s,sort的函数。
Well, I could look up this table because somebody's figured it out for you.
我可以查这个表,因为有人已经研究出来了
Now it's down the list of ingredients, it's actually toward the end, but if you look at the marketing of this and look at the can it says, there's fresh potatoes and carrots, but actually there's more sugar in this than there is carrots.
它在配料表的底部,几乎是在最后面,但如果你买东西时找到这个罐头,上会写着这里有新鲜的土豆和胡萝卜,但实际上其中糖要比胡萝卜多
Alright, so if I'm at the end of the chain, that's my value.
好了,所以如果我,是在链表的最后,这个就是我的总价值了。
应用推荐