资源列表
huffman
- C++数据结构中哈夫曼函数的编写与实现,同时利用哈夫曼算法构建哈夫曼树-C++ data structure to achieve Huffman
Cpp2
- 输入字符串以链表的形式存储,在链表中查找一个元素,删除一个元素-Enter string to the list in the form of storage, find an element in the list, delete an element
JOSEPHUS
- 一个关于约瑟夫环问题的经典算法编程的C语言实现-the program about JOSEPHUS
josephus
- 约瑟夫问题c语言解决方法 数据结构方法解决问题-The solve of the josephus problem by c language Data structure method Solve problems
RMB
- 一、设计人民币类,数据成员包含正负标志位、元、角、分 ,设计构造函数、输出函数、重载+、-、前置自增、后置自增、前置自减、后置自减、输出流插入运算符<<、输入流提取运算符>> . 其中前置自减、后置自减、<<和>>重载成友元函数。 自增表示增加1分钱。自减表示减少1分钱。加减法和构造时的进位要考虑。 编写主函数测试之。 功能说明: 1. 所有的人民币的输出和输出都要使用重载的运算符<<和>> 2
danlianbiao
- 单链表.c 单链表.c 单链表.c 单链表.c 单链表.c 单链表.c 单链表.c 单链表.c 单链表.c 单链表.c 单链表.c 单链表.c-failed to translate
UndirectedGraph
- 遍历一遍,判断图分为几部分(假定为P部分,即图有 P 个连通分量),对于每一个连通分量,如果无环则只能是树,即:边数=结点数-1,只要有一个满足边数>结点数-1,原图就有环. -Traverse again, the determination map is divided into several parts (assumed to section P, with P in Figure connected component), for each connected compone
N阶螺旋幻方程序
- 用visual c++编缉的一个N阶螺旋幻方程序,实现幻方功能。-with visual c editing of a spiral bands N magic square procedures, functions magic square.
erchashu
- 有关二叉树的原代码 主要是求叶子节点数目 和前 中 后 序遍历
3
- 利用队列实现停车场功能,能判断停车位是够已经满,若已满,来的车进入队列,若有车离开,队列头自动进入停车,并能计算停车费用-Using Queuing parking function is enough to determine parking is full, if full, to the cars into the queue, if cars leave the queue to enter the first automatic parking, and parking fees ca
Board
- 棋盘覆盖问题是分治算法的一个经典问题,这里用C++进行了实现,代码在C++Builder下运行通过。-Board cover problem is a classic divide and conquer algorithm problem, here were implemented in C++ code in C++ Builder to run through.
Polynomial-combined
- 该程序实现多项式相加算法,主要利用了链表的知识-Polynomial combined
