Basic operation of the two-way linked list (C language)

xiaoxiao2021-03-06  20

This is my own small module, used to implement the basic operations of the two-way linked list, I don't know if it is the best algorithm, I hope everyone will give more opinions.

Let's define two data structures:

Typedef struct MNG

{

INT longth; / * Length of the list * /

LTBL * TOP; / * Pointer to the linked table * /

} Mng;

Typedef struct ltdl

{

LTBL * fp;

}

转载请注明原文地址:https://www.9cbs.com/read-39949.html

New Post(0)