03 2023 档案

摘要:###一.代码 ####1.1.前言: #####1.双链表与单链表有许多相似之处,区别在于插入与删除。所以只选取不同点的代码。 #####2.为了简化操作,将头节点的数据部分存储链表的长度,此时,就不必遍历链表了。 #include<stdio.h> #include<stdlib.h> #def 阅读全文
posted @ 2023-03-16 22:17 彭乐祥 阅读(39) 评论(0) 推荐(0)
摘要:###一.代码 #include<stdio.h> #include<stdlib.h> #define false 0 #define true 1 typedef struct node{ int data; struct node* next; }linkList; linkList* ini 阅读全文
posted @ 2023-03-12 20:54 彭乐祥 阅读(34) 评论(0) 推荐(0)
摘要:###一.代码 #include <stdio.h> #include<stdlib.h> #define false 0 #define true 1 typedef struct { int *data; int length, maxSize; }SqList; SqList* init(Sq 阅读全文
posted @ 2023-03-11 22:26 彭乐祥 阅读(47) 评论(0) 推荐(0)
摘要:###一.总览 ###二.数据结构的基本概念 ####2.1.导图 ####2.2.什么是数据? ####数据是信息的载体,是描述客观事物属性的数、字符及所有能够被输入到计算机中并被计算机程序识别和处理的符号的集合。数据是计算机程序加工的原材料。 #####2.2.1.ENIAC是世界上第一台通用计 阅读全文
posted @ 2023-03-07 22:38 彭乐祥 阅读(104) 评论(0) 推荐(0)