http://blog.csdn.net/lxgwm2008/article/details/8907930
一、头文件
-
#ifndef LISTUTILS_H
-
#define LISTUTILS_H
-
-
typedef int ElemType;
-
-
typedef struct _node
-
{
-
ElemType data;
-
struct _node *next;
-
} Node;
-
-
-
-
-
-
-
-
const Node *GetIntersectionPoint(const Node *headA, const Node *headB);
-
-
-
-
-
-
-
void ReverseList(Node *head);
-
-
-
-
-
-
-
const Node *GetCirclePoint(const Node *head);
-
-
void PrintList(Node *head);
-
#endif // LISTUTILS_H
二、C文件
阅读(569) | 评论(0) | 转发(0) |