数据结构-pta
wennie_ttt
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
第二章
习题2.5 两个有序链表序列的合并 (15分)List Merge( List L1, List L2 ){ List L= (List)malloc(sizeof(struct Node));//建立链表 List h = L; List L1h = L1->Next; List L2h = L2->Next; while(L1h != NULL && L2h != NULL){ if(L1h->Data < L2h->Dat原创 2020-05-16 14:28:05 · 131 阅读 · 0 评论 -
第一章(mooc课程pta题)
数据结构1.1 最大子列和问题 (20分)算法:二分法#include <iostream>//#include <bits/c++io.h>#include <queue>#include <stdio.h>#include <utility>#include <string.h>#include <cstring>#include <cstdio>#include <stack&g原创 2020-05-16 11:46:20 · 346 阅读 · 0 评论
分享