6-1 单链表逆转(20 point(s))

6-1 单链表逆转(20 point(s)) 本题要求实现一个函数,将给定的单链表逆转。c++ 函数接口定义: List Reverse( List L ); 其中List结构定义以下:函数 typedef struct Node *PtrToNode; struct Node { ElementType Data; /* 存储结点数据 */ PtrToNode Next; /
相关文章
相关标签/搜索