subsekuen
Subsekuen, often called subsequence in English, is a concept in mathematics and computer science describing a sequence derived from another by deleting zero or more elements without changing the order of the remaining elements. More formally, if a1, a2, ..., an is a finite sequence, then any sequence b1, b2, ..., bk with k between 0 and n is a subsekuen if there exist indices i1 < i2 < ... < ik such that bj = a_ij for all j.
A contiguous subsekuen, sometimes called a substring or a subarray depending on data type, requires that the
The number of subsekuens of an n-element sequence is 2^n, including the empty subsekuen and the original
Uses include algorithm design, such as dynamic programming for the longest increasing subsekuen and the longest
See also subsequence, supersequence, longest common subsequence.