自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 顺序表的基本操作

#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 18:59:45 46 1

原创 单链表的基本操作

#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)//创建单链表,采用头插法建

2022-12-18 18:59:36 67 1

原创 二叉树遍历

#include<stdio.h>#include<stdlib.h>typedef struct Tree{int data; // 存放数据域struct Tree *lchild; // 遍历左子树指针struct Tree *rchild; // 遍历右子树指针}Tree,*BitTree;BitTree CreateLink(){int data;int temp;BitTree T;

2022-12-18 18:58:27 75 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除