Home> Common Problem> body text

What is the use of linear tables?

藏色散人
Release: 2020-07-02 09:16:59
Original
4766 people have browsed it

A linear table is a linear structure of an ordered sequence composed of data elements of the same type. Its logical structure is simple and easy to implement and operate. Therefore, the data structure of a linear table is widely used in practical applications. A data structure.

What is the use of linear tables?

Linear List

Linear List (Linear List) is composed of data elements of the same type Linear structure of ordered sequence

Operation set: initialization, specified search, search, insertion, deletion, table length

Implementation method: sequential storage, chain storage

Advantages

The linear table has a simple logical structure and is easy to implement and operate. Therefore, the data structure of linear table is widely used in practical applications.

Features

1. There must be only one "first element" in the set.

2. There must be only one "last element" in the set.

3. Except for the last element, all elements have a unique successor (consequent).

4. Except for the first element, all elements have a unique precursor (antecedent).

The above is the detailed content of What is the use of linear tables?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!