资源列表
classList
- 设计了一个栈,可以添加删除节点。并且用最快的速度返回最大值-A STACK OF ADDING AND DELETING NODE
bubblesort
- This simple code is made up of java, we did it last semester, it is the so called bubblesort.
rev
- 计算逆序数,用的是归并排序方法实现的。时间复杂度和归并排序方法的一样-Reverse calculation of the number of ways using a merge sort implementation. Merge sort time complexity, and the same method
diedaifa
- // 编程序 用迭代法求a的立方根,求立方根的迭代公式为 ::Xi+1=(2*Xi)/3+a/(3*Xi*Xi) 假定X的初值为a,迭代到|Xi+1-Xi|<10的-5次方为止. 显示a=3,27的值,并通过调用pow(a,1.0/3)函数加以验证.。-//Compile a program with Iteration Method and the cube root, find the cube root of the iteration formula is:: Xi+1 = (2*
strtok
- 实现window下strtok(char *a,char *b) 函数的功能,在a中查找b并返回指向azhongb的指针,如果a为NULL返回前位置-strtok function program
jicha
- 给定n个正整数数列,进行如下操作:每次删去两个数 a和b,添加1个数 a*b+1,直到只剩1个数N。在所有的这样的N中,有1个最大Max的和最小的Min,M=Max-Min是极差。设计程序计算 M -Given n positive integers, proceed as follows: each time deleting two numbers a and b, add a number of a* b+1 until only a number of N. All this N,
zhebancharupaixu
- 计算机学院大二数据结构程序代码实现折半插入排序-Computer Science sophomore data structures to achieve binary insertion sort code
sjswxzxgxs
- 随机水文学自相关系数的计算,用VB程序编程的随机水文学方面的知识。-Stochastic hydrology calculation of the autocorrelation coefficient, using VB programming random hydrological knowledge.
2037
- 假设一个存储结构实现双向堆栈顺序,也就是说,一维数组的储存空间,有两个堆栈,他们位于底部的堆阵列的两个端点。尝试着去写实现双向堆Tws三种操作:最初的inistack(Tws),到堆栈推(Tws,我、x)和堆栈流行(Tws,我)算法,该算法可以我0或1,所以分别在一个数组或指示两端的两个堆栈。-Suppose a storage structure order implement a two-way stack, that is, the one dimensional array of sto
String
- 建立String类,实现字符串的连接、比较、赋值和计算字符串的长度-The establishment of the String class, string connection, comparison, assignment and calculation of the length of the string
bubble--sort-algorithm
- 冒泡排序 自己写出来的 自己是初学者 希望它对您有帮助-bubble sort algorithm
fastmax
- 一种快速算法,求解两个数的最大公约数,可以用于浮点型,整型等-A fast algorithm for solving the greatest common divisor of two numbers, can be used for floating point, integer, etc.