搜索资源列表
redblacktree
- 我的红黑树的c++实现。主要特点是可以用dot工具把红黑树画出来,生成jpg文件。可以用生成的jpg文件清楚的看到红黑树插入删除的过程。-My red and black tree c++ Achieve. The main characteristics of dot tool can be used to red and black tree drawn to generate jpg files. Can be used to generate the jpg file to see cl
90253940whiteblackpoint
- 给出你设计的求解下面问题算法的伪代码并分析复杂性:设B={b1,b2, ,bn} 和 W={w1,w2, ,wn}为平面上黑点和白点的两个集合。一个黑点bi=(xi, yi )与一个白点wj=(xj, yj ) 匹配当且仅当xi≥xj 和yi≥yj 。设计一个贪心算法,找出黑白点之间的最大匹配数目。算法的复杂性要尽量接近nlgn. -Give your algorithm designed to solve the following pseudo code and the problem of
pku1835
- 北大OJ_pku1835 参考程序 使用三维向量点积,数量积,和加法等运算实现空间人物在坐标轴方向的行走定位-pku1835 reference program using three-dimensional vector dot product, scalar product, and add other operations to achieve space characters walking in the direction of the axis orientation
(Dijkstra)-a-shortest-path-algorithm
- 大概流程如下: 初始对每个点e,令v[e]=0,dis[e]=inf 令起点dis[s]=0 每次找出p,使得v[p]=0,并且dis[p]最小 令v[p]=1 对每个和p相邻的q,用dis[p]+distance[p,q]去更新dis[q] 直到找不到v[p]=0-Probably process is as follows: For every dot e, initial [e] to v = 0, dis [e] = inf Make starting
matrix_complex
- 实现复矩阵。实现功能:四则运算,求逆,转置,点运算等等。加载后,可以像在matlab中那样便捷的操作矩阵,进行多种运算。-Achieve complex matrix. Functions: the four operations, inverse, transpose, dot operator, and so on. Loaded, like in matlab as convenient operation matrix, a variety of computing.
3.zadaca3
- Geometrical operations with Dot structure
Word-Ladder
- 给定两个词(beginWord和endWord)和字典的单词列表,找到所有最短转换序列(s)beginWord endWord,这样: 一次只能改变一个字母;每个中间必须存在于词列表-Given two words (beginWord and endWord), and a dictionary s word list, find all shortest transformation sequence(s) beginWord to endWord, such that: Onl
