搜索资源列表
cipher
- Logistc混合m-序列加密,用Netbeans打开工程文件即可运行。
The-dynamic-programming
- 用动态规划算法,JAVA实现:给定n个整数组成的序列,现在要求将序列分割为m段,每段子序列中的数在原序列中连续排序。如何分割才能使这m段子序列的和的最大值达到最小?-Using dynamic programming algorithm, JAVA implementation: the composition of a given sequence of n integers, now requires the sequence is divided into m segments, the
Merge
- 给定k 个排好序的序列s , s , , sk 1 2 , 用 2 路合并算法将这k 个序列合并成一个序列。 假设所采用的 2 路合并算法合并 2 个长度分别为m和n的序列需要m + n -1次比较。试设 计一个算法确定合并这个序列的最优合并顺序,使所需的总比较次数最少-Given k sorted sequence s, s, sk 1 2 2-way merge algorithm these the k sequences merged into
Josephu
- 约瑟夫问题:编号为1,2,...n的n个人围坐一圈,约定编号为k的人从1开始报数,数到m的那个人出列,它的下一位又从1报数,数到m的那个人又出列,知道最后所有人都出列,由此产生一个出队编号的序列-Joseph problem: numbered 1,2, ... n individuals sitting around a circle of n, k who agreed numbered starting 1 reported that the number, the number to
function_collection_sort
- m个学生围成一圈,数数,当数到n时,该学生离队,求最初到最末的序列-m student circle, count, when the number to n, the students leave, seeking first to the last sequence
merge-problem
- 贪心算法-最优合并问题 给定k 个排好序的序列s , s , , sk 1 2 , 用 2 路合并算法将这k 个序列合并成一个序列。 假设所采用的 2 路合并算法合并 2 个长度分别为m和n的序列需要m + n -1次比较。试设 计一个算法确定合并这个序列的最优合并顺序,使所需的总比较次数最少。-贪心算法-最优合并问题 给定k 个排好序的序列s , s , , sk 1 2 , 用 2 路合并算法将这k 个序列合并成一个序列。 假设所采用的