文件名称:fad
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 4kb
- 下载次数:
- 0次
- 提 供 者:
- 杨**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
序列Z=<B,C,D,B>是序列X=<A,B,C,B,D,A,B>的子序列,相应的递增下标序列为<2,3,5,7>。
一般地,给定一个序列X=<x1,x2,…,xm>,则另一个序列Z=<z1,z2,…,zk>是X的子序列,是指存在一个严格递增的下标序列〈i1,i2,…,ik〉使得对于所有j=1,2,…,k使Z中第j个元素zj与X中第ij个元素相同。
给定2个序列X和Y,当另一序列Z既是X的子序列又是Y的子序列时,称Z是序列X和Y的公共子序列。
你的任务是:给定2个序列X、Y,求X和Y的最长公共子序列Z。
-Sequence Z = <B,C,D,B> Is a sequence X = <A,B,C,B,D,A,B> Sub-sequence, the corresponding sequence of increasing subscr ipt < 2,3,5,7> . In general, given a sequence X = <x1,x2,…,xm> , Another sequence Z = <z1,z2,…,zk> Subsequence of X, there is a strictly increasing sequence < i1,i2,…,ik> subscr ipt such that for all j = 1,2, ..., k so that the first j elements Z and X in the ij zj the same elements. Given two sequences X and Y, when another sequence Z is X, Y sequence is the sequence when said sequence of X and Y, Z is the common sub-sequences. Your task is: given two sequences X, Y, X and Y find the longest common subsequence Z.
一般地,给定一个序列X=<x1,x2,…,xm>,则另一个序列Z=<z1,z2,…,zk>是X的子序列,是指存在一个严格递增的下标序列〈i1,i2,…,ik〉使得对于所有j=1,2,…,k使Z中第j个元素zj与X中第ij个元素相同。
给定2个序列X和Y,当另一序列Z既是X的子序列又是Y的子序列时,称Z是序列X和Y的公共子序列。
你的任务是:给定2个序列X、Y,求X和Y的最长公共子序列Z。
-Sequence Z = <B,C,D,B> Is a sequence X = <A,B,C,B,D,A,B> Sub-sequence, the corresponding sequence of increasing subscr ipt < 2,3,5,7> . In general, given a sequence X = <x1,x2,…,xm> , Another sequence Z = <z1,z2,…,zk> Subsequence of X, there is a strictly increasing sequence < i1,i2,…,ik> subscr ipt such that for all j = 1,2, ..., k so that the first j elements Z and X in the ij zj the same elements. Given two sequences X and Y, when another sequence Z is X, Y sequence is the sequence when said sequence of X and Y, Z is the common sub-sequences. Your task is: given two sequences X, Y, X and Y find the longest common subsequence Z.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
fad\a.cpp
...\fad.dsp
...\fad.dsw
...\fad.ncb
...\fad.opt
...\Debug
fad
...\fad.dsp
...\fad.dsw
...\fad.ncb
...\fad.opt
...\Debug
fad