资源列表
[数据结构常用算法] FindStringInSortedArray
说明:通过递归实现二分法,以递归的方式能快捷直接的实现平时要比较麻烦的二分法查询功能-// Function: FindStringInSortedArray // Usage: index = FindStringInSortedArray (key, array, n) // ------------------------------------------------------------- // The function searchs the array looking f<jim> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] activitySelector
说明:活动选择算法问题的C++具体实现代码。 输入:按时间排好序的开始数组S,完成时间数组F。 输出:表示一个最大相容活动组的向量。-Activity selection algorithm issues specific implementation C++ code. Input: sorted by the time the start of the array S, the completion time of an array of F. Output: that one of th<space> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 9-1
说明:1、利用尾插法创建两个类型为字符型的带头结点的有序单链表La和Lb。 2、将La和Lb合并到一新链表Lc中,使得Lc表中元素值也有序,统计Lc中元素个数并显示出来。 3、要求:屏幕上可以显示La和Lb元素列表,以及合并后单链表Lc元素列表。 -1, by the end of interpolation method to create two types of nodes as the lead character of the ordered single chain La an<罗航宇> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Unary-polynomial-operations
说明:一元多项式的运算,包括加减乘法的自主输入数据的源码-Unary polynomial operations<my> 在 2025-06-14 上传 | 大小:1kb | 下载:0