admin 2019年06月17日 顺序表的算法 typedef int ElemType 表示为int起别叫ElemType.typedef int Elemtype[10]相当于:以后用Elemtype声明的变量都是一个int[10]数组.除了return,还可以通过引用形参来返回函数 602 0 0 数据结构
admin 2019年06月17日 双链表的算法 双链表的存储结构typedef int ElemType; struct DLinkList { ElemType data; struct DLinkList *prior; struct DLinkList *n 579 0 0 数据结构
admin 2019年06月17日 树表的查找 BST:Binary Sort Tree,二叉排序树p=malloc(...)强制类型转换→p=(BSTNode *)malloc(...)二叉排序树的存储结构typedef int KeyType; typedef int InfoTyp 616 0 0 数据结构
admin 2019年06月17日 模式匹配算法 前缀常识:Sq→Sequence,指顺序结构, Li→Link,指链接结构malloc的用法:struct SqString p=(SqString )malloc(sizeof(SqString));顺序串的存储结构#define Max 586 0 0 数据结构
admin 2019年06月17日 链栈的算法 p=lst->next这句话的含义是p为指向头结点之后第一个节点的指针。==NULL译为:没有第一个节点。链栈的存储结构typedef int ElemType; struct LiStack { ElemType data; 563 0 0 数据结构
admin 2019年06月17日 链队的算法 链队是一个没有头结点的单链表, 它的front和rear都有具体元素。队空不是front==rear, 而是 rear==NULL,front==rear可能是只有一个元素。存储结构就是在单链表的基础上加上一个结构体 LiQueue,内 643 0 0 数据结构
admin 2019年06月17日 交换排序 注意:快速排序的第二次扫描R[i].key <= tmp.key,而不是R[i].key < tmp.key,不然可能陷入i!=j永远不成立的循环冒泡排序void BubbleSort(SqList R[],int n) { 611 0 0 数据结构
admin 2019年06月17日 归并排序 Merge 将两个序列归并, MergePass 定义了在每一个长度下对序列怎样分区归并, MergeSort 以递增长度调用 MergePass归并排序算法void Merge(SqList R[],int low,int mid,int 637 0 0 数据结构
admin 2019年06月17日 二叉树的基本算法 二叉树的存储结构#define MaxSize 100 typedef char ElemType; struct BTNode { ElemType data; struct BTNode *lchild; str 592 0 0 数据结构
admin 2019年06月17日 二叉树的遍历算法 while(队列非空){出队;入队}二叉树的存储结构#define MaxSize 100 typedef char ElemType; struct BTNode { ElemType data; struct BTNod 569 0 0 数据结构
admin 2019年06月17日 单链表的算法 单链表的存储结构typedef int ElemType; struct LinkList { ElemType data; struct LinkList *next; };采用头插法建立单链表void CreateLis 571 0 0 数据结构
admin 2019年06月17日 插入排序 顺序表的存储结构#define MAXITEM 100 typedef int KeyType; typedef char ElemType[10]; struct SqList { KeyType key; ElemTyp 614 0 0 数据结构
admin 2019年06月15日 《新概念英语4》第60讲 abstract讲解词汇与搭配:contrary to ... far from (being) + n./adj. far from doing manoeuvre maneuver y 643 0 0 英语
admin 2019年06月15日 《新概念英语4》第59讲 abstract讲解词汇:command greatify satiation majority favor/favour enfore vocation outlook 656 0 0 英语
admin 2019年06月15日 《新概念英语4》第58讲 abstract讲解词汇:cultivation cultivate policy alternative relief broadly toil trifling讲解搭配 648 0 0 英语
admin 2019年06月15日 《新概念英语4》第57讲 abstract讲解词汇:intelligent unintelligible proposition attend recuperation讲解搭配:by definition hold 623 0 0 英语
admin 2019年06月15日 《新概念英语4》第56讲 abstract讲解词汇与搭配:commonplace evolve aberrant predominant manifest pristine the workings of 674 0 0 英语
admin 2019年06月15日 《新概念英语4》第55讲 abstract讲解词汇:narcissus interminably winkle lowbrow incidentally unforgivable bore ruth 706 0 0 英语
admin 2019年06月15日 《新概念英语4》第54讲 abstract讲解词汇:radicial fundamental destiny organic extraordinary fascination self-discovery 608 0 0 英语
admin 2019年06月15日 《新概念英语4》第53讲 abstract讲解词汇:inspiration interweave intervene afresh pertinent讲解搭配:flirt with sb./sth. set pen t 630 0 0 英语