搜索资源列表
Eidffakght
- 利用BFS算法解八数码问题 在3*3的方格上放着1-8数码,有一空格为0变化规则为空格可以和上,下,右,左四个相邻的数字互换, 至到和目标状态相等, 每一种状态用一个结点表示 而每个结点每次变化最多有四种结点,将这些结点依次入队列中, 例如初始结点S0,入队列后出队,将S0变化最多产生的四种结点S01,S02,S03,S04依次入队列中, 当S01出队后,产生的四种结点S11,S12,S13,S14(实际上不会有四种结点)依次入队, 每次出队时与结束结点相比较,如果
SJHS
- 一个彩票选号的随即函数值! 其实,很简单,大家看以下!-a lottery Dip the function immediately! In fact, very simple, we look at the following!
二叉树的小程序
- 这是一个实现二叉树的小程序,他的实现是实现左右二叉树中的一些难题, 值的一看哦-This is the realization of a binary tree small program, he is about to achieve some of the binary tree problems a value of the FACT
factShow
- 数据结构的代码演示程序,利用栈的原理,将级数fact递归问题的执行过程以直观的形式演示出来。-data structure code demo program using the stack principle, Recursive series fact of the implementation process in the form of visual presentation out.
Yosefu
- 用环形链表解决的约瑟夫问题,其实不难,本人能力实在有限,做出这个已经差不多到极限了,请不要删除,谢谢!-Ring tree to Joseph, in fact, it is not difficult, I capacity is limited, This has been made almost to the limit, please do not delete, thank you!
严蔚敏老师专贴
- 严蔚敏老师的数据结构专贴。考研的朋友要好好看哦 是内部资料啊-Yan Wei Min teacher posted a data structure. Graduates to make good friends FACT internal information ah
SearchMedian.rar
- 寻找无序数组的中位数,实际上代码实现了寻找无序数组中任意第x大的数,使用了快排的思想。VC++ 2005环境,Find disordered array median, in fact, code has to find a disorderly array of arbitrary section x large, use the quick thinking of row. VC++ 2005 Environment
Exercise-6
- SSD7 exercise 6. Provide your solution to the following in a file named normalization.txt. Note: The discussion in this exercise is independent of (i.e., completed unrelated to) the E-Commerce project described in the Appendix. The following tab
goldcard
- 问题的提出:金卡在现代生活里应用广泛,无论排长队于ATM机前取款还是就餐、购物、就医等等。在国外电子货币十分流行,其实电子货币是系统工程,它涉及金融、安全、通信、计算机等领域。这里为使读者掌握动态数据的用法,仅模拟其存款于取款过程。-The question raised: Gold in the modern life are widely used, regardless of long lines at teller or ATM machine before dining, shoppi
WinnerTree
- 常见的实现方法是使用两个数组, t[n-1]和e[n],数组e存放所有的参加排序的元素,在完全二叉树中是叶子结点,t[]存放 的是比赛的阶段性胜者的编号,再进行n趟比赛排序结束,时间复杂度是O(n*log2(n)), 其实我觉得也可以只通过一个数组A[2*n-1]也可以实现,只是标号的换算有点复杂而已. -Common implementation approach is to use two array, t [n-1] and e [n], the array storage
huffman_3
- 功能包括从文件中读取文章,将文章转换为哈夫曼编码,将哈夫曼编码还原,就是那几个基本算法的实现啦。 为了方便查看,这里输出的哈夫曼编码是1byte的,其实真正应该将其变为1bit存储,这样才能达到压缩的目的。-Features include articles to read from the file, the article is converted to Huffman coding, Huffman coding will be restored and that is the rea
fun_sort
- 排序算法,其实大家都会,不过可以方便大家-Sorting algorithm, in fact we all, but you can easily
4.5
- 使用modified Roboson 完全遍历一棵树并且输出每次遍历当前结点往后的路径,以及这些路径的孩子,其实这个程序功能远不如此-Complete Coverage using modified Roboson output of each iteration, a tree and the subsequent path of the current node, and the children of these paths, in fact, so far the program fea
1
- 中国剩余定理,本代码实现两个功能,一个功能是分解,将一个大数分解成n个小数值的数。一个功能是合成,实际就是分解的逆过程,将n个小数值的数还原成大数 -This code implements two functions, a function is broken down, large numbers will be decomposed into n a small number of values. A function of synthesis, is in fact the reve
First-Heapsort
- 我的第一次自己写的堆排序算法,希望大家好好看,其实是为了凑字数-My first time to write their own heap sorting algorithm, I hope you look good, in fact, is to scrape together words
normalization
- SSD7. Provide your solution to the following in a file named normalization.txt. Note: The discussion in this exercise is independent of (i.e., completed unrelated to) the E-Commerce project described in the Appendix. The following table captures
treesz
- 树状数组,其实学树状数组说白了就是看那张图,那张树状数组和一般数组的关系的,看懂 了基本就没问题了,推荐这个教程-Tree array, in fact, the learning tree array that white is to look at that map, that tree arrays and array, and understand the basic no problem about this tutorial
OFDM
- OFDM(Orthogonal Frequency Division Multiplexing)即正交频分复用技术,实际上OFDM是多载波调制的一种。其主要思想是:将信道分成若干正交子信道,将高速数据信号转换成并行的低速子数据流,调制到在每个子信道上进行传输。正交信号可以通过在接收端采用相关技术来分开,这样可以减少子信道之间的相互干扰 ICI 。每个子信道上的信号带宽小于信道的相关带宽,因此每个子信道上的可以看成平坦性衰落,从而可以消除符号间干扰。而且由于每个子信道的带宽仅仅是原信道带宽的一小部
canshuchuandi
- 参数进行值传递的方式有三种,分别是传值(value),传址(address),和传引用(reference) 传值时子函数(被调用者)复制父函数(调用者)传递的值,这样子函数无法改变父函数变量的值 传址时父函数将变量的地址传递给子函数,这样子函数可以能过改写地址里的内容改变父函数中的变量 传引用则是一种看起来像传值调用,而实际上功能同传址一样的传递方式。子函数可以改写父函数的变量值。-Parameters are passed by value in three w
ds_2_9
- 本程序没有使用类,事实上将下面的函数封装到类中可以实现一样的功能。 方便起见,直接在main函数中写好这些程序。 使用了系统自带的list类。 本程序没有进行错误的捕捉与处理,例如在没有open的情况下执行其他命令也没有报错。 执行帮助: 运行文件后输入open打开文件。 输入list,按照提示操作可以查看文件。 输入del,按照提示操作删除某些字符。 输入ins,按照提示操作插入某些字符。 输入quit,保存并退出。-The program
