数据结构与算法复习
文章平均质量分 66
普通网友
这个作者很懒,什么都没留下…
展开
-
数据结构复习-递归复习
// Recursive.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include#include using namespace std;void moveHanoi(int n,int &moveNumber,char source,char destinati原创 2015-03-30 14:05:06 · 197 阅读 · 0 评论 -
数据结构复习—C++实现简单链表
// linkList.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include using namespace std;typedef int ElemType;class linkList{public:linkLis原创 2015-03-18 11:20:51 · 171 阅读 · 0 评论 -
数据结构复习-顺序表L中删除重复元素,并使元素相对次序保持不变
// ds1.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include using namespace std;static int t=1;class Sqlist{public: int data[9]; int len;protected:priva原创 2015-03-16 19:09:25 · 517 阅读 · 0 评论