搜索资源列表
maxAndMin
- 找出数组中的最大元素和最小元素,元素的和,以及各个元素的平均值。并对数组进行排序。-find Max,Min elemens form a array,caculate the sum and average of elements in array,and the sort the array
Maximum-Subarray
- 求一个数组中的连续的和最大的子数组。采用滑动窗口解决。sum 如果小于0,置为0,再加上当前值。然后再与max相比,取大的-Seeking a continuous array and the largest sub-array. Sliding window resolved. If the sum is less than 0, set to 0, plus the current value. Then compared to the max, whichever is greater
Programming
- 求解最大连续子串,和最大的串成为最大连续子串-search the string of max sum