搜索资源列表
parentheses-design
- 假设一个算数表达式中可包含三种括号:圆括号,方括号和花括号且这三种括号可以按任意次序嵌套使用。试利用栈的运算,编写判别表达式中所含括号是否正确配对出现的算法-Suppose an arithmetic expression can contain three brackets: parentheses, brackets and braces and three brackets can be nested in any order. The trial use of the computing
code
- 一个效率还可以的配对堆 Fibonacci Heap太难写了 配对堆可以有效替代Fibonacci Heap 附带了用它实现的Dijkstra 复杂度O(nlogn+e) -An efficient matching can also be hard to heap Fibonacci Heap wrote a pairing heap Fibonacci Heap can be an effective alternative to use it comes with th
SSP
- I implement Dijkstra s Single Source Shortest Path, say SSP, algorithm for directed graphs using a simple data structure, say simple scheme, Fibonacci heaps, say F-heap scheme, and Pairing heaps, say P-heap scheme, and measure the relative performanc
shuju
- 书中使用主流的程序设计语言C++作为具体的实现语言。 书的内容包括表、栈、队列、树、散列表、优先队列、排序、不相交集算法、图论算法、算法分析 、算法设计、摊还分析、查找树算法、k-d树和配对堆等。 -Book using mainstream programming language C++ as a specific implementation language. The book includes tables, stacks, queues, trees, hash tables
PairingHeap
- 配对堆 数据结构与算法分析 in C 按照书中算法实现-Pairing heap Data Structure And Algorithm Analysis In C
checkcharscorrect
- 2、 设计算法判断一个算术表达式的圆括号是否正确配对。 第一个式子: 1*(2+3*(4*(2-1)*(3+x)+5)-6) 能够正确匹配 第二个式子: 1*(2+3*4*(2-1)*(3+x)+5)-6) 不能够正确匹配 -Design algorithm to determine an arithmetic expression in parentheses is correct pairing. The first equation: 1* (2+3* (4* (2-1)*
1206
- Descr iption 对给定一个Pascal源文件,请检查其中 (1)begin与end (2)if,then,else 是否合法配对。-Descr iption given a Pascal source file, check which (1) begin and end (2) if, then, else the legality of pairing.
3.2
- 试写一个判别表达式中开、闭括号是否配对出现的算法。-Try to write a discriminant expression open and close parentheses appear if pairing algorithm.
Data_Structure_Code
- 运用基本的数据结构操作,实现简单的功能。其中INVERSE代码实现了一组至多组整形数在单链表中的反序输出操作;mypoly代码实现了多项式在单链表的加减法输出;operation代码实现了利用穿拼接出最大的整形数;括号配对1代码实现了一组至多组括号字符的用顺序栈检查配对情况;身高排序插入代码实现单链表的插入操作。-Using the basic data structure operations to achieve some simple functions. INVERSE code set