资源列表
MaS
- 这是传教士和野人问题的源码的另一种解法,3个传教士3个野人1条小船过河,要求任意情况野人人数不能多于传教士-This is the problem of source missionaries and savages, three missionaries and three wild man a boat across the river, requiring no more than an arbitrary number of missionaries Savage
output-a-tree
- 树的水平输出算法实现:对于给定二叉树,以水平方向输出二叉树。每个节点包含一个整数值,并且节点数最大255。节点数据的输出方向为从左到右,从上到下,同一水平高度的节点输出完成后,再输出下一水平高度。 -The tree level output algorithm: output in the horizontal direction for a given binary tree, binary tree. Each node contains an integer value, and t
longest_common_sub-sequence
- 求最长公共子序列,求最长公共子序列-For the longest common sub-sequence
eightQueen
- 用C/C++实现的著名“八皇后”算法~八皇后问题,是一个古老而著名的问题,是回溯算法的典型例题。该问题是十九世纪著名的数学家高斯1850年提出:在8X8格的国际象棋上摆放八个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种方法-With C/C++ implementation of the famous " Eight Queens" algorithm ~ eight queens problem is an ancient and w
dmp
- 虽然方式的C + +消息传递速度快于Smalltalk或Objective - C的它的方式,有时Smalltalk或Objective - C语言的灵活性是必要的。这一点本文介绍如何在C + +最少的代码实现动态消息传递是有可能的。 -Although the way C++ does message passing is much faster than the way Smalltalk or Objective-C does it, sometimes the flexibility
Stxllrare
- 建立一个通讯录的类note,该类中的属性有以下几项:String name,phone,MobilePhone,zip,address,Email 分别表示:姓名,固定电话,手机号,邮编,地址,电子邮邮邮件地址。方法有两个:Setnote()给属性赋初值的函数,方法show()显示出来一条通讯记录。 程序源码使用了ObjectInPutStream与ObjectOutPutStream这两个文件输入 -Class note to create an address book, class a
a_Binary
- 说明:一个二分检索算法例子。有详细的注释
binarysearchtree
- 叉查找树示例|二叉查找树,binary search tree,C语言-binary search tree
prim
- prim求最小生成树,求最短路径,并求出权值-prim for minimum spanning tree, and the shortest path and find the right value
Huffman
- 哈夫曼编码和译码.rar,用C++写的,能够运行-Huffman encoding and decoding. Rar, written with C++, able to run
zuiduanlu
- 很好用的最短路径搜索法,帮你解决你想的问题 -problem of distance
joihguvt
- 设计一个以顺序表的引用为参数的函数,以最少的辅助存储逆置顺序表中的数据。自行设计main函数进行测试。把能够正确运行的逆置功能函数粘贴在下面。-Design a as a parameter to a reference to the sequence table, data to least inverse auxiliary storage is set in the sequence table. Design their own main function testing. The th
