- 博客(5)
- 收藏
- 关注
原创 数据结构 | 链式有序表的合并的实现
参考书籍:《数据结构(第2版)》严蔚敏代码#include<iostream>using namespace std;#define MAXSIZE 100#define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define OVERFLOW -2typedef int Status;typedef int ElemType;//结构体定义typedef struct LNode{ ElemTy.
2021-07-04 22:00:41
470
原创 数据结构 | 顺序有序表的合并的实现
参考书籍:《数据结构(第2版)》严蔚敏代码#include<iostream>using namespace std;#define MAXSIZE 100#define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define OVERFLOW -2typedef int Status;typedef int ElemType;//结构体定义typedef struct{ ElemType *da.
2021-07-04 20:40:10
509
原创 数据结构 | 线性表的合并的实现
参考书籍:《数据结构(c语言版)》严蔚敏代码#include<iostream>using namespace std;#define MAXSIZE 100#define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define OVERFLOW -2typedef int Status;typedef int ElemType;//结构体定义typedef struct{ ElemType *d.
2021-07-04 18:41:02
233
原创 2.Python | 列表
参考书籍:《python编程从入门到实践(第2版)》bicycles = ['trek','cannondale','redline','specialized']print(bicycles)['trek', 'cannondale', 'redline', 'specialized']1.访问列表元素bicycles = ['trek','cannondale','redline','specialized']print(bicycles[0])print(bicycles[1])p
2021-06-27 20:31:46
52
原创 1.python | 字符串
参考书籍:《python编程从入门到实践(第2版)》1.修改字符串的大小写name = "ada lovelace"print(name.title())Ada Lovelace1.让python对变量name执行方法title()指定的操作2.方法title()以首字母大写的方式显示每个单词name = "Ada Lovelace"print(name.upper())print(name.lower())ADA LOVELACEada lovelace1.方法
2021-06-27 20:21:45
54
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人