- 博客(3)
- 收藏
- 关注
原创 实现双链表的各基本算法
#include <stdio.h> #include <stdlib.h> #include <malloc.h> typedef char ElemType; typedef struct DNode { ElemType data; struct DNode *prior; struct DNode *next; }DLinkNode; int CreateList(DLinkNode *L, ElemType a[], int n ) { DLi.
2021-09-26 22:00:06
684
原创 实现单链表的各基本运算
#include <stdio.h> #include <stdlib.h> #include <malloc.h> #include <stdbool.h> typedef char ElemType; typedef struct LNode { ElemType data; struct LNode *next; }LinkNode; int InitList(LinkNode *L) { L -> next = NUL.
2021-09-26 21:59:31
353
原创 实现顺序表的基本运算功能
#include <stdio.h> #include <stdlib.h> #include <malloc.h> #define MAX 100 typedef char ElemType; typedef struct { ElemType data[MAX]; int length ; }SqList; int CreateList(SqList *L, ElemType a[], int n) { int i = 0, k = 0; L = (S.
2021-09-26 11:37:58
231
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅