So in this case, one of the standard ways to do this, is to use what's called a linked list.
标准的处理方法是使用链表,我接下来也准备这么做。
Alright, so if I'm at the end of the chain, that's my value.
好了,所以如果我,是在链表的最后,这个就是我的总价值了。
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的函数。
应用推荐