字符数组的冒泡排序+ 动态顺序存储线性表的基本实现
摘要:/* void Sort(LinkList L) { LNode *q,*p,*c; p=L->next; q=L; char cnt; while(p!=NULL) { while(p->next!=NULL) { if(p->data > p->next->data) { cnt=p->data
阅读全文
posted @
2019-10-30 21:07
redOrange01
阅读(252)
推荐(0) 编辑
栈的操作总结
摘要:#include <assert.h> #include <stdio.h> #include <stdlib.h> #define length 10 typedef int DataType; typedef struct Stack { DataType* top; DataType* bas
阅读全文
posted @
2019-10-09 21:30
redOrange01
阅读(220)
推荐(0) 编辑