请输入您要查询的字词:

 

单词 list
释义
list

Computer
  • A finite ordered sequence of items (x1,x2,…xn), where n ≥ 0. If n = 0, the list has no elements and is called the null list (or empty list). If n > 0, the list has at least one element, x1, which is called the head of the list (see also header). The list consisting of the remaining items is called the tail of the original list. The tail of the null list is the null list, as is the tail of a list containing only one element.

    The items in a list can be arbitrary in nature, unless stated otherwise. In particular it is possible for an item to be another list, in which case it is known as a sublist. For example, let L be the list

    (A,B,(C,D),E)
    then the third item of L is the list (C,D), which is a sublist of L. If a list has one or more sublists it is called a list structure. If it has no sublists it is a linear list. The two basic representation forms for lists are sequentially allocated lists and linked lists, the latter being more flexible.


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2024/12/26 2:54:34