Lists
Lists are data constructs that represent a collection of items collected in a defined order. In mathematics and formal logic, a list (often called a sequence) is an ordered collection in which the position of each item is significant and items may repeat. In everyday use, lists appear as bullets or numbers that organize information for quick scanning.
In computer science, a list is a data structure that stores an ordered sequence of elements. Lists
Lists can be homogeneous in strictly typed languages, but many modern languages allow lists with mixed types.
Common uses include outlining ideas, maintaining to-do items, storing records, and passing multiple arguments to functions.