资源列表
bubble
- 程序实现冒泡算法,效率较高。程序是从两边往中间走的,直到中间子表为空为止。本程序比C语言上的效率高很多。-Program to achieve bubble algorithm is efficient. Program is from the middle of both sides to go until the middle of the child table is empty. This procedure than the C language in efficiency is mu
triangle
- 给定一个由n行数字组成的数字三角形如下图所示。 7 3 8 8 1 0 2 7 4 4 4 5 2 6 5 试设计一个算法,计算出从三角形 的顶至底的一条路径,使该路径经过的数字总和最大。-Given an n-line numbers from the number of triangles as shown below. 7 3 8 8 1 0 2 7 4 4 4 5 2 6 5 trial design an algor
20110529
- 二叉树的基本功能,包括先序、中序、后续遍历,二叉树的深度,长度等。-The basic functions of a binary tree, including the first order, in order, follow-up traversal, binary tree of depth, length.
6
- 页面置换算法理解页面置换算法,实现先进先出(FIFO)置换算法和最久未使用(LRU)置换算法。给出任意的输入流,计算置换次数。-Page replacement algorithms understand page replacement algorithm, first in first out (FIFO) replacement algorithm and least-recently used (LRU) replacement algorithm. Any given input st
dui
- 本源码是堆排序的源代码,在c环境下编译成功! -Heap sort of the source is the source code successfully compiled under the c!
3
- 栈的应用:括号匹配.即先建立一个栈(这里采用顺序栈),把左括号压入栈中,只有碰到匹配的右括号时出栈,否则则是不匹配,当栈中没有元时,匹配成功。-Stack of applications: matching bracket. The first to create a stack in a sequential stack (here), the left parenthesis pressure into the stack, only touching the matching bracke
String-matching-operation
- 字符串匹配操作。输入主串和子串,通过匹配算法,统计匹配次数。-String matching operation. Enter the main string and substring by matching algorithms, statistical matching number.
strcpy
- C语言中字符串拷贝函数 以及其实际例子说明-C language string copy function of the actual examples
Simpleselectionsort
- 简单选择排序,使用C++语语言编写的简单排序程序,实现数据结构的简单排序-Simple selection sort, using the C++ language program written in a simple sort, simple sort of data structure
zb
- 折半查找算法,一种实现查找数字或字符串的算法。-Binary search algorithm, an implementation of the algorithm to find numbers or strings.
CPPAngle
- C++代码实现判断是否是三角形的一个小程序,内含冒泡发排序。-C++ code for chose which angle
2dp
- 传说HMH大沙漠中有一个M*N迷宫,里面藏有许多宝物。某天,Dr.Kong找到了迷宫的地图,他发现迷宫内处处有宝物,最珍贵的宝物就藏在右下角,迷宫的进出口在左上角。当然,迷宫中的通路不是平坦的,到处都是陷阱。Dr.Kong决定让他的机器人卡多去探险。 但机器人卡多从左上角走到右下角时,只会向下走或者向右走。从右下角往回走到左上角时,只会向上走或者向左走,而且卡多不走回头路。(即:一个点最多经过一次)。当然卡多顺手也拿走沿路的每个宝物。 Dr.Kong希望他的机器人卡多尽量多地带出宝物。请