搜索资源列表
平衡二叉树c++
- 平衡二叉树生成 输入任意个节点 如 2 6 8 0为显示 可自动生成平衡二叉树 bf为平衡因子 h给深度 可插入删除 计算转动次数(wangliwei007也是我,质料没添全就换这个好号,请斑竹给我发个号好吗?我也想下载东西,急)-balanced binary tree generating arbitrary input nodes as 2 6 8 0 to demonstrate that automatically generates balanced binary tree bf f
Text
- 编程题(15_01.c) 结构 struct student { long num char name[20] int score struct student *next } 链表练习: (1).编写函数struct student * creat(int n),创建一个按学号升序排列的新链表,每个链表中的结点中 的学号、成绩由键盘输入,一共n个节点。 (2).编写函数void print(struct
快速排序算法
- 1. 要求按快速排序原理实现非减序排序; 2. 待排数据可键盘输入,也可读文本文件输入; 3. 键盘输入时待排数据个数由输入确定,文件输入时数据格式如下所示; 4. 排序时不能移动数据; 5. 要求显示排序结果。 输入数据的文本文件格式:第1行为数据个数,第2行开始每行一个数据。 如:data.txt 14 19.4 30.43 26.88 7.62 有14行 ┋ 12.7 21.9
LongestIncSubSeq
- 求最长单调递增子序列。举例:原数组:1 5 1 3 1 56 21 6 86 2 1 6 5 22 1 5 9 62 1 3 56 31 1 56 3 1 1 66 3 1 6 6 3 1 6 6 1 结果: the longest monotonically increasing sub-sequence: Length: 14 Content:-Seeking the longest monotonically increasing subsequence. For exam
tree-2.62
- 可以扩展的树形数据结构源码,用C++写成,可以直接编译,方便实现你想要的树形数据结构-Tree data structure can be extended source, with C++ languages, can be directly translated to facilitate the realization of the tree data structure you want
nibolanshi
- 运算表达式转换为逆波兰式,输入运算符表达式如(6+2)*5-8/4,输入将是逆波兰式62+5*84/--Operation expression into Reverse Polish Notation, the input operator expressions such as (6+2)* 5-8/4, input will be the Reverse Polish Notation 62+5* 84 /-