Home > Back-end >  The basic operations of a singly linked list
The basic operations of a singly linked list

Time:09-27

Experiment topic: implementing singly linked lists all kinds of basic operation algorithm,
. Write a program to implement singly linked lists of all kinds of basic operation, the following functions with a function to realize respectively, and a main function on the basis of the design to demonstrate the validity of each function:
(1) the initialization singly linked lists, L data elements are 1,2,3,4,5,6,7,8,9,10; ,
(2) the output singly linked lists the L value of the seventh element,
(3) the location of the output element 3 (or address),
(4) in the fifth element position insert element value of 0,
(5) delete L eighth element,
(6) output singly linked lists, L

CodePudding user response:

https://blog.csdn.net/qq_21201267/article/details/88703669
Can the list of the first code implementation,
  • Related