数据结构与算法源代码(C++版)包括: 数据结构源代码,算法源代码,电子笔记,图解,字典
2021-12-15 11:35:36 3.33MB C++ 数据结构 算法
1
计算机实现给定的算术表达式的求值。运算规则:有括号先算括号内的;无括号时,先做乘除法,再做加减法;对于相同级别的运算按从左到右次序计算。人们书写表达式时通常采用“中缀”表式形式,也就是将运算符放在两个操作数的中间,但这种表示形式对计算机不大合适。我们要求以字符序列的形式从终端输入语法正确的、不含变量的整数表达式——人们习惯的中缀表达式,首先将其转换成计算机容易处理的后缀表达式,再计算后缀表达式的值。
2021-12-13 12:58:54 451KB 数据结构表达式
1
完整的算法源代码 随即输入任意数 算出缺页次数和缺页率
1
MD5加密算法源代码+DLL成品 MD5加密算法源代码+DLL成品
2021-12-12 12:53:37 35KB MD5加密算法源代码+DLL成品
1
MD5消息摘要算法(英语:MD5 Message-Digest Algorithm),一种被广泛使用的密码散列函数,可以产生出一个128位(16字节)的散列值(hash value),用于确保信息传输完整一致。本代码为C++源代码
2021-12-07 21:06:01 7KB MD5 源代码 数据验证
1
I#region Structures public struct Segment { public PointF p; public PointF q; public bool contains(SuperPoint point) { if (p.Equals(point.P) || q.Equals(point.P)) return true; return false; } } public struct SuperPoint { public PointF P; public int ID; public SuperPoint(PointF p, int id) { P = p; ID = id;
2021-12-05 22:55:33 24KB 凸包算法
1
BM算法源代码,是与KMP相比的优秀字符匹配算法。 算法复杂度为(m+n)
2021-12-05 21:41:16 8KB BM算法 字符匹配
1
计算机图形学,消隐算法简单实现。通过键盘操作图形。
2021-12-03 14:10:21 5KB 计算机图形学 消隐算法
1
进程调度 时间片轮转调度算法源代码(C语言)
1
埃及的牛人写的.. Imagine that you have a piece of wood and a number of metal pins come out from it randomly (as in the above image), and you picked up an elastic rubber band and open it wide with your hand to contain all the metal pins and let it go. You will observe t hat the elastic rubber band will shrink and snap around the metal pins (only the outer metal pins). These outer segments of the elastic band form the convex hull.
2021-12-01 15:49:13 79KB convex hull
1