上一页 1 ··· 19 20 21 22 23

2016年5月11日

摘要: Problem Description 判断两序列是否为同一二叉搜索树序列 Input 开始一个数n,(1<=n<=20) 表示有n个需要判断,n= 0 的时候输入结束。接下去一行是一个序列,序列长度小于10,包含(0~9)的数字,没有重复数字,根据这个序列可以构造出一颗二叉搜索树。接下去的n行有n 阅读全文
posted @ 2016-05-11 10:14 Annetree 阅读(259) 评论(0) 推荐(0)

2016年4月14日

摘要: 1 #include 2 #define MAXSIZE 20 3 4 typedef int ElemType; 5 typedef struct 6 { 7 ElemType data[MAXSIZE]; 8 int length; 9 }SqList; 10 11 void InitList(SqList *L) 12 { 1... 阅读全文
posted @ 2016-04-14 11:17 Annetree 阅读(330) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23