
顺序表
yue_luo_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
3325顺序表应用2:多余元素删除之建表算法
顺序表应用2:多余元素删除之建表算法#include<iostream>#include<cstdlib>#define MAX 101#define OVERFLOW -1using namespace std;typedef struct{ int *elem; int listlen; int listsize;}list;list CreatList原创 2016-09-22 20:46:53 · 607 阅读 · 0 评论 -
3326顺序表应用3:元素位置互换之移位算法
顺序表应用3:元素位置互换之移位算法#include<iostream>#include<cstdlib>#define MAX 101#define OVERFLOW -1using namespace std;typedef struct{ int *elem; int listlen; int listsize;}list;list CreatList原创 2016-09-22 20:52:17 · 474 阅读 · 0 评论 -
3327顺序表应用4:元素位置互换之逆置算法
顺序表应用4:元素位置互换之逆置算法#include<iostream>#include<cstdlib>#define MAX 101#define OVERFLOW -1using namespace std;typedef struct{ int *elem; int listlen; int listsize;}list;void Creatlist原创 2016-09-22 20:57:37 · 563 阅读 · 0 评论 -
3665顺序表应用8:最大子段和之动态规划法
3665顺序表应用8:最大子段和之动态规划法#include<iostream>#include<cstdlib>#define MAX 100010#define OVERFLOW -1using namespace std;int cnt ;typedef struct{ int *elem; int listlen1; int listsize1;}li原创 2016-09-27 19:56:56 · 524 阅读 · 0 评论 -
3330顺序表应用6:有序顺序表查询
3330顺序表应用6:有序顺序表查询#include<iostream>#include<cstdlib>#define MAX 21010#define OVERFLOW -1using namespace std;int q ;typedef struct{ int *elem1,*elem2,*elem3; int listlen1; int listsi原创 2016-09-22 19:54:42 · 542 阅读 · 0 评论 -
3663顺序表应用4-2:元素位置互换之逆置算法(数据改进)
3663顺序表应用4-2:元素位置互换之逆置算法(数据改进)#include<iostream>#include<cstdlib>#define MAX 1100010//注意大小#define OVERFLOW -1using namespace std;int q ;typedef struct{ int *elem1,*elem2,*elem3; int list原创 2016-09-22 20:31:22 · 1121 阅读 · 0 评论 -
3324顺序表应用1:多余元素删除之移位算法
3324顺序表应用1:多余元素删除之移位算法#include<iostream>#include<cstdlib>#define MAX 101#define OVERFLOW -1using namespace std;typedef struct{ int *elem; int listlen; int listsize;}list;void CreatL原创 2016-09-22 20:43:52 · 316 阅读 · 0 评论 -
3329顺序表应用5:有序顺序表归并
顺序表应用5:有序顺序表归并#include<iostream>#include<cstdlib>//exit 函数#define MAX 21010#define OVERFLOW -1using namespace std;int q ;typedef struct{ int *elem1,*elem2,*elem3; int listlen1,listlen2,l原创 2016-09-22 16:31:12 · 349 阅读 · 0 评论