Linear table operations

The operation of the linear table refers to the operation of the data in the linear table, and its specific implementation is related to the physical structure of the linear table. Several common operations of linear tables are as follows.
(1) Empty: change the linear table into an empty table.
(2) Find the length: get the number of data nodes in the linear table.
(3) Get node: Take out a data node in the linear table.
(4) Positioning: Obtain a specified data node.
(5) Insert: Insert the data node into the specified position of the linear table.
(6) Delete: delete the specified data node in the linear table.
The above calculations are not all the calculations of the non-linear table, and the above calculations do not have to be used at the same time. The user needs to make a reasonable choice according to different needs.

Guess you like

Origin blog.csdn.net/anton_99/article/details/103537616