搜索资源列表
栈的数制转换算法
- 进制转换是数据结构中的栈的应用的一个典型例子- Enters the system transformation is in a construction of data stack application typical example
charchongzai
- C++运算符的重载举例,几个例子,-C Operators of heavy for example, a few examples - huh-huh
UpperNum.rar
- 给定一个数组A,里面只出现0-9这10个数字,但不一定全部出现,然后给定一个K的值,求A中大于K的整数当中最小的一个,并输出。例如A={0,1}, k =12,则结果为100. vc++ 2005环境,Given an array A, which only the 10 digits 0-9, but not necessarily all appear, and then given a value of K, and K is greater than A, the smallest in
data-structure
- 描述了基本的数据结构算法:例如单链表的线性表、多项式等的建立遍历-Describes the basic data structure algorithms: for example, a linear single-chain form, through the establishment of such polynomials, etc.
a
- C++数据结构的例子,多项式的运算,实现起来还是i很复杂的-C++ Data structure example of polynomial arithmetic and realize i was still very complicated
ns
- 在网络仿真NS中对延时分析,丢包率分析,延时抖动分析,网络吞吐量分析等给出了可行性算法,直接就能用,对学NS2的人很有用的-Network simulation in NS for latency analysis, analysis of packet loss rate, delay jitter analysis, network throughput analysis give a feasibility algorithm, can be used directly on people
DE
- 用数组模拟递归函数,实现递归函数的简化算法,具体要求看英文描述。-We all love recursion! Don t we? Consider a three-parameter recursive function w(a, b, c): if a <= 0 or b <= 0 or c <= 0, then w(a, b, c) returns: 1 if a > 20 or b > 20 or c > 20
HeapSort
- 实现堆排序算法,里面自带了一个例子,是初学者必学的一个数据结构算法-Heap sorting algorithm implementation, which comes with an example, a beginner must learn a data structure algorithms
A
- 这篇文章并不试图对这个话题作权威的陈述。取而代之的是,它只是描述算法的原理,使你可以在进一步的阅读中理解其他相关的资料。 最后,这篇文章没有程序细节。你尽可以用任意的计算机程序语言实现它。如你所愿,我在文章的末尾包含了一个指向例子程序的链接。 压缩包包括C++和Blitz Basic两个语言的版本,如果你只是想看看它的运行效果,里面还包含了可执行文件。 -This article does not attempt to be authoritative on the subject
a
- 输入某年某月某日,判断这一天是这一年的第几天? 程序分析:以3月5日为例,应该先把前两个月的加起来,然后再加上5天即本年的第几天,特殊 情况,闰年且输入月份大于3时需考虑多加一天。-Input of a certain period of a day, this day is to determine the first few days this year? Program analysis: the March 5, for example, should the f
c-example
- 对于数组排序问题的C语言解决,很好的程序-For sorting an array of C language to solve the problem, a very good program
example
- 建立一棵二叉排序树并输出该树的结构,然后让用户输入下列操作符:i(插入),s(查找),d(删除),p(输出结构),q(退出程序),程序执行相应操作。-Create a binary sort tree and outputs the structure of the tree, and then let the user enter the following operators: i (insert), s (find), d (delete), p (output structure), q
Sequence-expressions
- 输入一个中序的表达式(比如:a*(b+c)-d) 将这个表达式构建一棵二叉树,然后打印出来就是.-Input a sequence of expression (for example: a* (b+ c)-d) Will this expression building a tree binary tree, then it is printed
DeskTop-Calculator
- 《数据结构与程序设计》第一个例子,一个简单的桌面计算器,用到逆波兰计算-The data structure and program design "the first example, a simple desktop calculator, use the inverse Poland calculation
example
- 排序实验,简单的实现了排序的效果,运用多种算法集合在一起实现排序,并可以对比排序的速度差异-Sorting experiments to achieve the sort of simple effects, using a variety of algorithms together achieve the sort, and you can compare the difference in speed sorting
jiemi
- 在数据加密和数据压缩中常需要对特殊的字符串进行编码。给定的字母表 A 由 26 个 写英文字母组成 A={a,b,…,z}。该字母表产生的升序字符串是指字符串中字母按照从左到 右出现的次序与字母在字母表中出现的次序相同,且每个字符最多出现 1 次。例如,a,b,ab, bc,xyz 等字符串都是升序字符串。-In the data encryption and data compression is often the need for special strings to be encoded
SPECULAR-REFLECTION-OF-A-TREE.cpp
- 一棵树的镜面映射指的是对于树中的每个结点,都将其子结点反序。例如,对左边的树,镜面映射后变成右边这棵树。 a a / | \ / | b c f ===> f c b / \ / d e e d 我们在输入输出一棵树的时候,常常会把树转换成对应的二叉树,而且对该二叉树中只有单个子结点的分支结点补充一个虚子结点“$”,形成“伪满二叉树”。 例如,对下图左边的树,得到下图右边的伪满二叉树 a a / | \ / b c f ===> b $
STACK-a-QUEUE
- Data structure stack and queue concept with tower of Hanoi example explanation in different way
java8-stream-example
- java8的stream基本用法,利用文件流实现了对文本的批量处理,文本信息的统计及信息的正删改查。- Java8 stream of basic usage, using file stream to achieve a batch of text processing, text information statistics and information is deleted.
树_17281183_刘梦婷
- 建立树的孩子兄弟链表存储结构,求树的深度。 要求: 1)自上而下输入树中每条边(例如#A,AB,AC,BD,##),不要转换成二叉树输入。 2)按树中由根至叶子结点层次遍历顺序(每层中自左至右输入),输入结点序列及每个结点的度,构造孩子兄弟链表。(Establish the storage structure of the tree's child and brother list, and find the depth of the tree. Requirement: 1) Inp
