E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
SQList
顺序表应用-奇偶
include typedefintElemType; #defineMaxSize50 typedefstruct { ElemTypedata[MaxSize]; intlength; }
SqList
Wzlwasd
·
2015-09-21 17:00
第三周项目2 建设“顺序表”算法库
问题及代码:1.main.cpp代码#include"list.h" intmain() {
SqList
*sq; ElemTypex[6]={5,8,7,2,4,9}; CreateList
mxyyy123
·
2015-09-21 17:00
顺序表应用-删除元素
include typedefintElemType; #defineMaxSize50 typedefstruct { ElemTypedata[MaxSize]; intlength; }
SqList
Wzlwasd
·
2015-09-21 17:00
第三周项目二建设“顺序表”算法库
defineLIST_H_INCLUDED #defineMaxSize50 typedefintElemType; typedefstruct { ElemTypedata[MaxSize]; intlength; }
SqList
licongcongv1
·
2015-09-21 16:00
顺序表的基本运算
usingnamespacestd; #defineMaxSize50 inte; typedefintElemType; typedefstruct { ElemTypedata[MaxSize]; intlength; }
SqList
Wzlwasd
·
2015-09-21 16:00
2015-9-21 【项目 - 求集合并集】
代码如下:#include"list.h" #include voidunionList(
SqList
*LA
SupreEvi
·
2015-09-21 16:00
代码
线性表
上机
2015-9-21第四周
第三周项目1 顺序表的基本运算
include #defineMaxSize50 typedefintElemType; typedefstruct { ElemTypedata[MaxSize]; intlength; }
SqList
Neslon
·
2015-09-21 16:00
建设顺序表算法库 .
main.cpp:#include usingnamespacestd; #include"list.h" intmain() {ElemTypee;
SqList
*sq; ElemTypex
wangjiyuan123
·
2015-09-21 16:00
第三周项目4 - 顺序表应用
list.h#defineMaxSize50 typedefintElemType; typedefstruct { ElemTypedata[MaxSize]; intlength; }
SqList
fjc2838424120
·
2015-09-21 16:00
第三周 项目3 - 求集合并集
list.h#defineMaxSize50 typedefintElemType; typedefstruct { ElemTypedata[MaxSize]; intlength; }
SqList
fjc2838424120
·
2015-09-21 16:00
第三周项目2-建设“顺序表”算法库
defineMaxSize50 05.typedefintElemType; 06.typedefstruct 07.{ 08.ElemTypedata[MaxSize]; 09.intlength; 10.}
SqList
GL906376500
·
2015-09-21 16:00
第三周 项目4-顺序表应用2
include#include#defineMaxSize50typedefintElemType;typedefstruct{ ElemTypedata[MaxSize]; intlength;}
SqList
Esther1012
·
2015-09-18 22:00
第三周 项目4-顺序表应用
include#include#defineMaxSize50typedefintElemType;typedefstruct{ ElemTypedata[MaxSize]; intlength;}
SqList
Esther1012
·
2015-09-18 22:00
第三周 项目3-求集合并集
include#include#defineMaxSize50typedefintElemType;typedefstruct{ ElemTypedata[MaxSize]; intlength;}
SqList
Esther1012
·
2015-09-18 22:00
第三周 项目2-建设顺序表算法库
include #include #defineMaxSize50 typedefintElemType; typedefstruct { ElemTypedata[MaxSize]; intlength; }
SqList
Esther1012
·
2015-09-18 22:00
第3周 项目4-顺序表应用
include #include #defineMaxSize50 typedefintElemType; typedefstruct { ElemTypedata[MaxSize]; intlength; }
SqList
ap_ple6223
·
2015-09-18 21:00
第3周 项目3-求集合并集
include #include #defineMaxSize50 typedefintElemType; typedefstruct { ElemTypedata[MaxSize]; intlength; }
SqList
ap_ple6223
·
2015-09-18 21:00
第3周 项目2-“顺序表”算法库
2015年9月18日 *问题描述:用多文件组织形式,在项目一的基础上,建立两个文件,另外再建立一个源文件,编制main函数,完成相关的测试工作 */#include"list.h"intmain(){
SqList
ap_ple6223
·
2015-09-18 09:00
第三周项目一(2)
include #defineMaxSize50 typedefintElemType; typedefstruct { ElemTypedata[MaxSize]; intlength; }
SqList
licongcongv1
·
2015-09-18 09:00
第三周项目一顺序表的基本运算
在不同场合可以根据问题的需要确定,在此取简单的inttypedefstruct{ ElemTypedata[MaxSize]; //利用了前面MaxSize和ElemType的定义 intlength;}
SqList
licongcongv1
·
2015-09-18 08:00
第三周项目一
在不同场合可以根据问题的需要确定,在此取简单的inttypedefstruct{ ElemTypedata[MaxSize]; //利用了前面MaxSize和ElemType的定义 intlength;}
SqList
licongcongv1
·
2015-09-18 08:00
第三周 项目1-顺序表的基本运算
MaxSize 50 typedef int ElemType; typedef struct { ElemType data[MaxSize]; int length; }
SqList
Esther1012
·
2015-09-18 08:00
第三周项目(8):顺序表应用(2)
*/ #include"list.h" voidmove(
SqList
*&L) { inti=0,j=L->length-1; ElemTypetmp; while(idata[j]
yn2333
·
2015-09-17 20:00
第三周项目(7):顺序表应用(1)
完成日期:2015年9月17日 *问题描述:删除元素在[x,y]之间的所有元素,要求算法的时间复杂度为O(n),空间复杂度为O(1); */ #include"list.h" voiddelx2y(
SqList
yn2333
·
2015-09-17 20:00
建设顺序表算法库
2015.9.14 问题描述:建设顺序表算法库(多文件) */main.cpp:#include usingnamespacestd; #include"list.h" intmain() {ElemTypee;
SqList
Wzlwasd
·
2015-09-16 17:00
第3周 项目2 - 建设“顺序表”算法库
包含定义顺序表结构的代码、宏定义、要实现算法的函数的声明)和源文件function.cpp(包含实现各种算法的函数的定义)main.cpp中的代码#include"list.h" intmain() {
SqList
zhuanger3517
·
2015-09-14 17:00
项目1-顺序表的基本算法
defineLIST_H_INCLUDED #defineMaxSize50 typedefintElemType; typedefstruct { ElemTypedata[MaxSize]; intlength; }
SqList
licongcongv1
·
2015-09-14 16:00
项目2 - 建设“顺序表”算法库
defineLIST_H_INCLUDED #defineMaxSize50 typedefintElemType; typedefstruct { ElemTypedata[MaxSize]; intlength; }
SqList
fjc2838424120
·
2015-09-14 16:00
第三周 项目4 - 顺序表应用(2)
list.h#defineMaxSize50 typedefintElemType; typedefstruct { ElemTypedata[MaxSize]; intlength; }
SqList
fjc2838424120
·
2015-09-14 16:00
数据结构例程——合并有序表
要求不破坏原有表LA和LB算法思想:解法1:用顺序表实现(支持的算法库,及list.h文件,请点击链接…)#include"list.h" voidUnionList(
SqList
*LA,
SqList
*
sxhelijian
·
2015-09-12 08:00
数据结构
算法
合并
线性表
求集合并集
.*/ main.cpp: #include"list.h" //用main写测试代码 #include voidunionList(
SqList
*LA,
SqList
*LB,
SqList
Wzlwasd
·
2015-09-11 09:00
线性表的操作(完成表的建立,插入,删除,排序,销毁,查找 )
defineLength100 #defineAddLength50 //完成表的建立,插入,删除,排序,销毁,查找 typedefstruct{ int*elem; intlength; intlistsize; }
SqList
llwwlql
·
2015-09-10 17:00
顺序链表(数组形式)
#include #defineMAX20 usingnamespacestd; typedefstructnode { intdata[MAX]; intlength; }
sqlist
; voidinitial
qq_18343569
·
2015-08-31 19:00
java实现顺序表
这是我用java实现的数据结构中的顺序表,以下是我的代码 package com.husiwang.
SqList
; /** * Created by SiwangHu on 2015
siwanghu
·
2015-08-18 14:41
java
数据结构
顺序表
java实现顺序表
这是我用java实现的数据结构中的顺序表,以下是我的代码 package com.husiwang.
SqList
; /** * Created by SiwangHu on 2015
siwanghu
·
2015-08-18 14:41
java
数据结构
顺序表
线性表顺序存储结构实现
#include #defineMAXSIZE20 typedefintElemType; typedefstruct { ElemTypedata[MAXSIZE]; intlength; }
SqList
hotea
·
2015-07-15 15:00
c
data_structure
线性表
代码:#include#include#defineMaxSize1000typedefstruct{ int*elem; intLength;}
SqList
;intInitList(
SqList
*
zyx520ytt
·
2015-07-14 16:00
sqlist
顺序表
#include"
sqList
.h"/**********函数实现*******/StatusInitList(
SqList
&L){//初始化顺序表L.elem=(ElemType*)malloc(LIST_INIT_SIZE
Amily_K
·
2015-07-13 15:40
数据结构
二路插入排序
#include usingnamespacestd; typedefintSqList[8]; voidBinpath_Insertsort(
SqList
&L,intcount) { intlength
yangshuangtao
·
2015-06-23 21:00
排序--递归排序(快速排序)
#include usingnamespacestd; #defineSIZE21 typedefintSqlist[SIZE]; intPartition(
Sqlist
&L,intlow,inthigh
zr1076311296
·
2015-06-18 13:00
排序--气泡排序
#include usingnamespacestd; #defineSIZE21 typedefintSqlist[SIZE]; voidQipaoSort(
Sqlist
&L,intn) { inti
zr1076311296
·
2015-06-18 13:00
排序--希尔排序
#include usingnamespacestd; #defineSIZE21 typedefintSqlist[SIZE]; voidShellInsert(
Sqlist
&L,intdk,intn
zr1076311296
·
2015-06-18 12:00
排序--两路排序
#include usingnamespacestd; #defineSIZE21 typedefintSqlist[SIZE]; voidTwayTnsertSort(
Sqlist
&T,
Sqlist
zr1076311296
·
2015-06-18 12:00
排序--折半插入
#include usingnamespacestd; #defineSIZE21 typedefintSqlist[SIZE]; voidBInsertSort(
Sqlist
&L,intn) { inti
zr1076311296
·
2015-06-18 12:00
排序---直接插入
#include usingnamespacestd; #defineSIZE21 typedefintSqlist[SIZE]; voidInsretSort(
Sqlist
&L,intn) { for
zr1076311296
·
2015-06-18 12:00
[置顶] 【插入排序】直接,折半,二路,希尔
二路插入排序,希尔插入排序代码实现:#include usingnamespacestd; #definesize21 typedefintSqlist[size]; voidSInsertSort(
Sqlist
Irean_Lau
·
2015-06-17 13:00
C++
希尔排序
插入排序
折半插入
交换排序
数据结构实验(一)——顺序表和单链表的设计与实现
顺序表#include#include#defineMaxSize50typedefcharElemType;typedefstruct{ElemTypedata[MaxSize];intlength;}
Sqlist
划过的梦神
·
2015-06-15 15:34
c++
数据结构与算法
线表的c语言实现
defineLIST_INCREMENT10#defineStatusinttypedefintElemType; typedefstruct{ElemType*elem;intlength;intlistsize;}
SqList
zjwzjw369
·
2015-06-09 15:13
C语言
线表
实验一 合并顺序表
defineLIST_INIT_SIZE100#defineLISTINCREMENT10#defineelemtypeinttypedefstruct{ int*elem; intlength;}
SqList
zhongyi_yang
·
2015-05-28 13:00
数据结构实验一代码 &n…
defineLIST_INIT_SIZE100#defineLISTINCREMENT10#defineElemTypeinttypedefstruct{ int*elem; intlength; intlistsize;}
SqList
zhongyi_yang
·
2015-05-28 13:00
上一页
15
16
17
18
19
20
21
22
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他