|
In mathematics, a subsequence is a sequence that can be derived from another sequence by deleting some elements without changing the order of the remaining elements. For example, the sequence is a subsequence of . They should not be confused with substring which is for above string and which is a refinement of subsequence. == Common subsequence == Given two sequences ''X'' and ''Y'', a sequence ''G'' is said to be a ''common subsequence'' of ''X'' and ''Y'', if ''G'' is a subsequence of both ''X'' and ''Y''. For example, if : and : then a common subsequence of ''X'' and ''Y'' could be : This would ''not'' be the ''longest common subsequence'', since ''G'' only has length 3, and the common subsequence has length 4. The longest common subsequence of ''X'' and ''Y'' is . 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Subsequence」の詳細全文を読む スポンサード リンク
|