单链表基础
来源:互联网 发布:信息工程研究所 知乎 编辑:程序博客网 时间:2024/06/14 09:54
建立:
#include <iostream>#include <stdio.h>#include <string.h>#include <conio.h>using namespace std;typedef struct student{ int data; struct student *next;}node;node* create(int N){ node *head,*p,*s; int i = 0; head = (node*)malloc(sizeof(node)); p = head; p->data = 1; for(i = 2; i <= N; i++) { s = (node*)malloc(sizeof(node)); p->next = s; s->data = i; p = s; } p->next = NULL; return head;}
0 0
- 单链表基础
- 单链表基础
- 单链表基础
- 单链表的基础实现
- 单链表的基础操作
- 数据结构基础之单链表
- 数据结构基础之单链表
- 数据结构基础--单链表
- 【数据结构】单链表--基础
- 单链表基础面试题
- 单链表基础篇
- 单链表基础操作
- 数据结构基础【03】单链表
- 简谈JAVA基础--单链表
- 数据结构基础--单链表逆序
- c#单链表基础操作
- 单链表基础练习
- 基础
- 对于位运算的一些例题下的该如何使用
- java变量,数据类型
- .NET pfx文件解析私钥和公钥
- 从上往下打印二叉树
- COBOL call C function
- 单链表基础
- Java-003-朝花夕拾
- 初次使用servlet写HelloWorld
- nginx反向代理和rewrite进行解决跨域问题、去掉url中的一部分字符串,通过nginx正则生成新的url
- COBOL PERFORM verb
- iOS库-库的基本常识
- HDU 1542 Atlantis 【线段树+扫描线】
- springmvc的进阶
- http://www.uisdc.com/front-end-designer-cooperation