搜索资源列表
C++ Builder程序员学习数据结构第7章
- C++ Builder程序员学习数据结构第7章-Builder C programmers to learn data structure Chapter 7
7
- 7、反转姓名字符串,例如:输入James Levis输出Levis James 主程循环读入三个字符串,并分别输出其反转后的结果
7个数据结构的实验_DataStructure
- 编译系统: Visual C++ 6.0 操作系统: Windows 2000/XP 这几个程序对于学习和理解数据结构有很大的帮助。-Compiler System : Visual C 6.0 operating system : Windows 2000/XP these procedures for the study and understanding of data structure will be very helpful.
C_TREE
- 本例题将介绍一种建立二叉树的算法。同时介绍对“遍历算法”灵活应用:将二叉树中每个结点的左右子树进行交换。介绍求二叉树深度的算法。 二叉树的建立是一个递归方法,与二叉树先序遍历思路有点相似。数据的组织是先序遍历的顺序,但是当某结点的某孩子为空时以数据0来充当,也要输入。结合右图的二叉树,其数据的输入顺序应该是: 1 2 4 0 0 0 3 5 0 7 0 0 6 8 0 0 9 0 0。 若当前数据不为0,则申请一个结点存入当前数据。如果输入0表明是空(NULL),不分配结点。递归调用
BinarySearchTree
- 从键盘上输 入一串正整数, 最后输入-1作为输入结束的标志。如输入的序列为:2,5,7,23,48,96,……,-1。请以这些正整数的值作为二叉排序树中的结点的数据场之值,建立一棵二叉排序树。注意:请采用动态存储方法保存这棵二叉排序树,事先并未知道该二叉排序树中的结点的个数。-Input from the keyboard on a string of positive integers, the last input-1 as an input symbol of the end. Such
7
- 程序功能: 由{4,9,0,1,8,6,3,5,2,7}创一棵二叉树并由括号表示法输出 -Program features: (4,9,0,1,8,6,3,5,2,7) hit by a binary tree representation output by the brackets
7-27
- 算法分析与设计之7-27(贪心算法)算法实现-analysis 7-27
liblinear-cdblock-1.7
- about libsvm for string data to classification-about libsvm for string data to classification
suanfa3.6he3.7
- 这是严蔚敏数据结构书上的算法3.6和3.7的原始程序,可以实现-This is Yan Wei Min algorithms book data structures 3.6 and 3.7 of the original program can be achieved
huffman
- Huffman 编码 已知:信源符号个数q、信源符号s0, . . . , sq?1,信源概率分布p0, . . . , pq?1。 算法: (a) 如果q = 2 则返回编码:s0 7! 0, s1 7! 1 (b) 否则 i. 重新排序s0, . . . , sq?1 和p0, . . . , pq?1 ii. 创建一个符号s′,其概率为p′ = pq?2 + pq?1 iii. 递归调用本算法以得到s0, . . . , sq?3, s′ 的编码w0, . .
7-different-kinds-of-sort-mind
- 包含7种不同的排序算法,并能够进行比较,直观的比较出排序所需时间-Contains 7 different sort algorithms, and be able to compare the visual comparison of the time required to sort
2010211307-2-24
- 假设稀疏矩阵A和B均以三元组表作为存储结构,试写出矩阵相加(相乘—选做)的算法,另设三元组表C存放结果矩阵。 矩阵相加测试实例: 0 7 0 8 0 2 0 1 0 0 A= 4 0 0 0 5 B= 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6 0 6 0 0 -6 0 处理过程提示: 输入稀疏矩阵A和B 检测A和B能否相加 矩阵相加运算 打印运算结果-Sparse matrix A and B are in
parallel-bgl-0.7.0.tar
- Parallel Graph Boost Library from IU.
取一个整数a从右端开始的4~7位
- 题目:取一个整数a从右端开始的4~7位。-Topic: take an integer a from the right end began to 4 ~ 7 a.
2012-summer-Training-Contest(7)
- ACM 2012多校暑假集训(7),标程+解题报告。-2012 Multi-University Training Contest- Contest 7 Tutorial.
whitebook-7.1.2-maxplussum
- 致力于为ACMer提供便利,白书上代码答案,白书7.1.2 最大乘积。-Committed to ACMer facilitate code book answers white, white book 7.1.2 maximum product.
398_timer_calculator_v2.7.0.0
- avr_timer calculator-avr_timer calculator.....
e3.7
- 数据结构教程,李春葆蒋晶钰版,实验3.7,C语言-Data Structure tutorials, Li ChungBao Jiang JingYu version, experiments 3.7, C language
libspatialindex-1.7.0-win32
- 空间索引库,其中包含了RTree,TPRTree,MVPTr-Spatial index library, which contains RTree, TPRTree, MVPTree
jiapu_4.0
- 题目要求: 用树形结构实现家谱成员信息管理(如建立、删除、查询、统计、打印等) 实现要求: 1、 添加新成员的信息,包括姓名、性别、家庭住址、出生地、职业、 出生日期、是否健在、死亡日期等。 2、 添加一对夫妇作为整个家谱的祖先,其中包括他们的详细信息。 3、 添加一新成员作为一对夫妇的孩子,包括其详细信息。 4、 添加一新成员作为某一成员的妻子,包括其详细信息。 5、 删除某一成员及其信息。可以选择删除该成员与其直系子孙,也可以选择仅删除该成员,对其他成员无影响