
数据结构
文章平均质量分 77
xiaoyun8822
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
字符串
string.h #ifdef STRING_H #define STRING_H #include using namespace std; class String{ public: String(); String(int n,char c); String(const char *source); String(const String& s);原创 2013-04-05 12:22:02 · 589 阅读 · 0 评论 -
排序
#define MAXSIZE 10 typedef struct { int r[MAXSIZE+1];//用于存储排序数组,r[0]用作哨兵或临时变量 int length;//用于记录顺序表的长度 }SqList; // void swap(SqList* L,int i,int j){ int temp = L->r[i]; L->r[i] = L->r[j]; L->r[原创 2013-04-06 18:25:59 · 662 阅读 · 0 评论 -
各种算法的复杂度
Know Thy Complexities! Hi there! This webpage covers the space and time Big-O complexities of common algorithms used in Computer Science. When preparing for technical interviews in the past, I fo转载 2013-05-05 16:51:15 · 930 阅读 · 0 评论