自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 资源 (2)
  • 收藏
  • 关注

原创 二叉树的中序线索化

#include <stdio.h>#include<stdlib.h>#define max 100typedef struct Tree{ int data; struct Tree *lchild; struct Tree *rchild; int ltag,rtag;} *tree,sree;typedef struct node{ tree data[max]; int top;}*list,List;lis.

2022-04-08 18:19:55 418

原创 二叉树的层次遍历(非递归)

#include<stdio.h>#include<stdlib.h>#define max 100typedef struct Tree{ char data; struct Tree *lchild; struct Tree *rchild; int ltag,rtag;}*tree ,Tree;typedef struct queue{ tree data[max]; int fount,real;}*queue.

2022-04-02 00:41:03 1048

原创 二叉树的先、中、后序遍历(非递归)

#include<stdio.h>#include<stdlib.h>#define max 100typedef struct node{ int data; struct node *lchild; struct node *rchild;}*btree,tree;typedef struct list{ btree data[max]; int top;}*node,Node;node Init(){ node n.

2022-04-02 00:40:06 679

原创 KMP算法

#include<stdio.h>#include<stdlib.h>void Insert(String1 s,char *data){ if(s->data){ free(s->data); } int len=0; char * temp=data; while (*temp) { len++; temp++; } if(len==0){ s.

2022-04-02 00:38:34 127

原创 字符串暴力匹配

#include<stdio.h>#include<stdlib.h>typedef struct string{ int len; char *data;}*String1,string1;String1 init(){ String1 s=(String1)malloc(sizeof (string1)); if(s){ s->len=0; s->data=NULL; } ret.

2022-04-02 00:37:44 71

原创 链式队列(基本功能)

#include<stdio.h>#include<stdlib.h>typedef struct node{ int data; struct node *next;}*node,pnode;typedef struct queue{ node fount; node real;}*queue,squeu;queue init(){ queue s =(queue)malloc(sizeof (squeu)); if(.

2022-04-02 00:36:46 59

原创 线性队列(基本功能)

#include <stdio.h>#include<stdlib.h>#define max 100typedef struct queue{ int data[max]; int fount,real;}*squeue,queue;squeue init(){ squeue s=(squeue)malloc(sizeof (queue)); if(s){ s->fount=0; s->real.

2022-04-02 00:35:34 65

原创 链栈(非顺序栈)

#include<stdio.h>#include<stdlib.h>typedef struct node{ int data; struct node *next;}*sqlist,list;typedef struct stack{ sqlist top;}*pstack,stack;pstack init(){ pstack s=(pstack)malloc(sizeof (stack)); if(s) .

2022-04-02 00:34:29 223

原创 顺序栈(非链式栈)

#include <stdio.h>#include<stdlib.h>#define max 100typedef struct stack{ int top; int data[max];}*pstack,stack;pstack init(){ pstack s=(pstack)malloc(sizeof (stack)); if(s) s->top=-1; return s;}void push(p.

2022-04-02 00:33:14 47

原创 单链表(链式)

#include<stdio.h>#include<stdlib.h>typedef struct Node{ int data; struct Node *next;}*pnode,node;pnode init(void){ pnode H=(pnode)malloc(sizeof (node)); if(H){ H->data=0; H->next=NULL; } retur.

2022-04-02 00:31:18 946

原创 数据结构(顺序表)

#include <stdio.h>#include<stdlib.h>#define MAX 100typedef struct List{ int length; int data[MAX];}*Lists,list;Lists init(){ Lists H=(Lists)malloc(sizeof (list)); if(H) H->length=0; return H;}void Insert(Li.

2022-04-02 00:29:07 214

原创 Linux超详细笔记三(关机命令,目录结构知识点)

关机重启即注销命令#时间[root@qls~]#data#更新时间[root@qls~]#yum install -y ntpdate[root@qls~]#ntpdate ntp.aliyun.com1.关机#定时关机[root@qls~]#shotdown -h 10(分钟) #在十分钟后关机[root@qls~]#shotdowm-c #取消关机操作#立刻关机[root@qls~]#shotdown -h 0[root@qls~]#shotdown -h now#立

2021-05-25 16:18:28 101

原创 Linux超详细笔记二(零散知识点总结)

命令行结构介绍[root@qls~]# #超级管理员命令行提示符[test@qls~]$ #普通用户命令行提示符命令行结构[] #就起到一个括号的作用root #本身是超级管理员 所在的位置是当前登录的用户@ #分隔符的作用qls #主机名 是唯一的 也可以进行修改的 主机名不能有特殊字符~ #本身是当前的家目录 所在的位置是当前所在的路径 所在的目录# #超级管理员命令行提示符 注释 注释后面的命令,系统不会执行$ #普通用户命令行提示符变量 PS1 定义命令行的结构命令结构

2021-05-25 16:15:13 86

原创 Linux超详细笔记一(网卡信息)

一.网卡信息方式二:配置网卡文件#1.网络类型```bashBOOTPROTO 1)dhop 自动获取IP 2)static 手动指定IP 3)none 不指定ONBOOT 1)NO 不读取网卡 2)yes 读取网卡需要添加IPADDR=10.0.0.200 IP地址NETMASK=255.255.255.0 子网掩码PREFIS=24 子网掩码GETEWAY=10.0.0.2 网关DNS1=223.5.5.5配置好后需要重启systemct1 rest

2021-05-25 16:08:54 209

原创 数据库求候选码,并求满足第几范式

候选码的确定设关系模式*R(U,F)中,F是最小函数依赖集属性划分:L 类:仅在函数依赖集F中的依赖左边出现的属性;R 类:仅在函数依赖集F中的依赖右边出现的属性;N 类:函数依赖集F中的依赖两边均不出现的属性;LR类:函数依赖集F中的依赖两边均出现的属性。定 理:(1)若X(X∈R)是L类属性,则X必为R的任一候选码的成员。(2)若X(X∈R)是L类属性,且XF+包含了R的全部属性,则X必为R的唯一候选码。(3)若X(X∈R)是R类属性,则X不在任何候选码中。(4)若X(X∈R)是N

2021-05-21 13:14:53 880

原创 Fragment结合ViewPage实现滑动效果

这边需要一个Denglu主界面,Denglu类还有四个Fragment类和它们的布局界面:首先是Denglu.xml<?xml version="1.0" encoding="utf-8"?><androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android

2021-05-18 19:50:35 84

原创 Android实现登录注册功能

我们需要创建一个新工程,然后在activity_main.xml布局文件下设置布局<?xml version="1.0" encoding="utf-8"?><androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"

2021-05-18 19:22:28 390

JAVA手打稿.txt

自己结合老师所讲的课程内容,和视频上的一些内容做的课程笔记

2021-05-18

RFID技术及应用2019.4.15.zip

想学习RFID的人可以看看

2021-05-18

空空如也

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

TA关注的人

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