Data structure and algorithm--the definition and characteristics of linear table

Source: Internet
Author: User

1. Linear table Concept

A linear table is an ordered sequence of 0 or more data elements.

Icon:


2. Features

2.1 Order

As we can see , the elements in the linear table are lined up next to each other, just like the usual kids lining up for school.

2.2 Allow 0 elements, that is, empty tables

2.3 The first element is known and has only one successor, the last one has and only one precursor, and the other elements have only one precursor, and there is only one successor

We can see from the linear table inside the first element A1, he has no precursor, only one A2 successor, the last element an, only one precursor a (n-1), no corresponding successor, some other element ai, it has and only one precursor a (i-1) and has and only one successor a (i+1)



Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Data structure and algorithm--the definition and characteristics of 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.