View Code? Open in Web Editor
NEW
Linked list related operation
linklist's Introduction
void ReverseDisplayLinkList(linklist *head)
:Reverse print the linklist data but not include head node
int ChangeDataLinkList(linklist *head, data_t olddata, data_t newdata)
linklist * FindLocalNode(linklist *phead, int local)
:Find the node local
void ReverseLinklistOne(linklist **head)
:reverse the linklist, iteration(迭代法)
void ReverseLinklistTwo(linklist **head)
:reverse the linklist,recurrence(递归)
bool JudgeLoopLinklist(linklist *head)
:判断链表是否存在环
linklist* LinklistSwap(linklist *phead, linklist *pNodeFirst, linklist *pNodeSecond)
:swap the nodem,parameter is any address of the two node
linklist's People
Contributors
Stargazers
Watchers