递归实现不带头节点的单链表

#include<iostream> #include <malloc.h> #include <stdlib.h> typedef int ElemType; using namespace std;  typedef struct LNode {  ElemType data;  struct LNode *next; }LinkNode; //初始化 void InitList(LinkNo
相关文章
相关标签/搜索