搜索资源列表
SJJG_BIT
- 常用数据结构演示:1、链表管理;2、二叉树;3、背包问题;4、力的实现;5、表达式计算;6、分水问题。-commonly used data structures exercise : 1, Chain management; 2, the binary tree; 3, knapsack problem; 4, the force achieved; 5. formulas; 6, the dividing issues.
strings
- 字符串的算法:字符串匹配,Brute Force算法
树的问题(生成)
- ADT BinaryTree 的实现及验证程序采用的主要数据结构:二叉树、栈、队算法思想:1、 先序建树、输出树、后序遍历用递归方法。性能分析:O( n )2、 先序遍历、中序遍历:性能分析:O( n )(1) 若遇到新节点非空则先入栈,然后访问其左子树。(2) 若为空则将栈顶结点出栈,访问其右子树。(3) 循环1、2直到栈为空且无节点可入栈。先序与中序的区别是:先序在入栈时访问节点,中序在出栈时访问节点。3、 层遍历:性能分析:O( n )(1) 根节点入队(2) 节点出队并访问(3) 若节点
brute
- ANN的brute算法,用于检查ANN算法的正确性-brute-force algorithm for ANN
xunhuanliedui
- 2. 假设以数组sequ[m]存放循环队列的元素,同时设变量rear和quelen 分别指示循环队列中队尾元素的位置和内含元素的个数。编写实现该循环队列的入队和出队操作的算法。提示:队空的条件:sq->quelen==0;队满的条件:sq->quelen==m。-2. Assuming an array sequ [m] cycle queue storage elements, while the variable set, respectively, rear and instr
chuangxinjijing
- 平方幻方的程序实现 (1)研究了幻方和平方幻方的性质。写出了1—n*n的幻方程序 (2)明白要写这样的程序,需要用蛮力法来加以解决,这样对问题的解决带有极大的盲目性,完全是一个NP问题。 -Square magic square program (1) studied the magic square and the square of the nature of magic squares. Write a 1-n* n magic square of the procedure
Nearest
- 分别利用分治法及穷举法求解最近点对问题,输出查找结果及比较次数。-Use, respectively, sub-rule method and brute-force method for solving the nearest point of the problem, the output and compare the number of search results.
MaxSum_ML
- 最大子段和实验之蛮力法,包括程序运行时间计算,C++表述-The largest sub-segment and experiments brute force method, including the run time calculation, C++ statements
Maze(Stack)
- 应用栈求迷宫通路,用的是“穷举求解”的方法,即从入口出发,顺某一方向向前探索,若能走通,则继续往前走;否则沿原路退回,换一个方向再继续探索,直至探索到通路为止。-Application stack requirements maze path, using a "brute-force solving" approach, starting from the entrance, along a forward direction to explore, if we go through, the
1
- 最短哈密尔顿图,穷举法,递归调用, 深度优先查找-The shortest Hamiltonian, brute-force method, the recursive call, depth-first search
Commonly-used-algorithm(C)
- 常用算法程序集(C语言描述)(第三版)+电子书和源码,非常给力!-Assembly commonly used algorithm (C language descr iption) (Third Edition)+ e-books and source code, is a force!
ysfh
- 约瑟夫环的问题采用的是典型的循环链表的数据结构,就是将一个链表的尾元素指针指向队首元素。 解决问题的核心步骤: 1.建立一个具有n个链结点,无头结点的循环链表; 2.确定第1个报数人的位置; 3.不断地从链表中删除链结点,直到链表为空。 具体过程就是先建一个单向循环链表,用来存储这些人的编码和密码。然后删掉报数为m的人,在删除的同时将这个人的密码和标号输出。直到把这个链表删空为止。这就是我解决这个问题的方案。 -Joseph Ring is a typical
Odometer-like-Brute-Force-Counter-
- 给定一组数字排序,打印所有的计数顺序。 -Given a set of numerical order, print all the counting sequence.
sort
- 外部排序 很给力 相当不错 希望给大家点帮助 1G排序没问题-External sorting is to force quite good I hope to point to help sort no problem 1G
1
- 刘大有数据结构课件,吉林大学软件学院知名教授编写的教学课件,很给力-Much data structures courseware Liu, Jilin University School of well-known professor of software written courseware, is to force
migongqiujie
- 数据结构中,栈的运用举例,迷宫求解。利用穷举求解的方法-Data structure, the use of the stack example, maze solving. The use of brute force method of solving
MaxOfSubSegSum
- vc求最大子串和问题 分别采用分治法和蛮力法很好的解决了这个问题-vc find the largest substring and problems, and were used to divide and conquer a good brute force method to solve this problem
KnapSack
- 蛮力、动态规划、回溯、分支限界四种算法求解0/1背包问题-Four algorithms(brute force, dynamic programming, backtracking, branch and bound ) to solve 0/1 knapsack problem
Brute-force-algorithm
- 穷举算法,VC中的经典程序之一,适合初学者,-Brute-force algorithm, the the of the classic procedures in in the the VC, suitable for beginners
Brute-Force
- 通过Brute-Force匹配算法,实现字符串的查找功能,寻找最长的真子串。-By Bruteforce matching algorithm, string search function to find the longest substring true.
