与其他列表实现一样,需要一个列表头来充当列表的锚点。
Like any list implementation, you need a list head that serves as the anchor for the list.
如果我们随后在列表头部添加了一个新值,则称为构造一个新列表。
If we then add a new value to the head of the list, it's known as constructing (or "cons-ing") a new list. The new list will share all the cells from the original.
一开始,您创建了您的数据结构(my _ data_struct),该结构包含一些数据和两个列表头。
At the start, you create your data structure (my_data_struct), which includes some data and then two list heads.
I start at the beginning of each list, and I say is one less than three?
从每个列表的头开始,那个么1是不是比3小呢?当然?
应用推荐