1, linear table

Source: Internet
Author: User

1. Linear table ( List): A finite sequence consisting of 0 or more data elements.


2. abstract data types for linear tables: a data type consisting of properties and methods, such as class


3. The storage structure of the linear table:

1> Sequential storage structure: one by one , insert or delete are followed up, AutoFill.

The sequential storage structure of linear tables, in which data is stored and read, regardless of location, time complexity is O (1). In the case of insertions or deletions, the time complexity is O (n).

2> chained storage structure: In addition to storing data element information, it stores the storage address (pointer) of its successor elements.




1, linear table

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.