current position:Home>Is there any student to answer the single linked list in the data structure

Is there any student to answer the single linked list in the data structure

2022-02-02 11:48:54 CSDN Q & A

The phenomenon and background of the problem

The node structure of the single linked list of known leading nodes is defined as :
tpedef, struet LNode
{
Eleaype data;
struct LNode *next;
} LinkNode;
Please implement the algorithm of inserting data elements into the head of the single linked list .
void ListInsest(LinkNode *$L, ElemType e)
{

Operation results and error reporting contents
My solution ideas and tried methods
What I want to achieve

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202021148531984.html