- 博客(3)
- 收藏
- 关注
原创 顺序表的的基本操作
#include<stdio.h>#include<stdlib.h>#define maxsize 1024typedef char elemtype;typedef struct{ elemtype list[maxsize]; int length;}sequenlist;void creatlist(sequenlist *L){ int n,i; char tmp; printf("请输入数据的个数:\n")
2022-12-18 22:51:34 69 1
原创 二叉树遍历
#include<stdio.h>#include<stdlib.h>#define maxsize 1000typedef char elemtype;typedef struct{ elemtype list[maxsize]; int length;}sequenlist;void creatlist(sequenlist *L){ int n,i; char tmp; printf("请输入数据的个数:\n");
2022-12-18 22:45:52 56
原创 单链表的顺序操作
#include<stdio.h>#include<stdlib.h>typedef int Elemtype;typedef int Status;typedef struct node { Elemtype data; struct node *next;} node,*linklist;linklist creat(int n){ linklist head,p; int x,i; head=(node
2022-12-18 20:10:56 86 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人