Home > Back-end >  Data structure, help!!
Data structure, help!!

Time:03-27

Have a lead the singly linked list of nodes L, the nodes of the element value according to the decreasing order,
Please write a function to Delete, its function is: review the singly linked list L, every element values of the same node only keep one, makes the single chain table L in element value in ascending order, node,)
1. Write a singly linked list storage structure of the type definition;
2. Write a function to Delete the source code,

CodePudding user response:

 

Refer to this, list building, search, delete, etc.
https://blog.csdn.net/zhanghaiyang9999/article/details/114360628