Subsequence
Binary relation between sequences (strings)
In mathematics, a subsequence of a given sequence is a sequence that can be derived from the given sequence by deleting some or no elements without changing the order of the remaining elements. For example, the sequence ⟨ A , B , D ⟩ {\displaystyle \langle A,B,D\rangle } is a subsequence of ⟨ A , B , C , D , E , F ⟩ {\displaystyle \langle A,B,C,D,E,F\rangle } obtained after removal of elements C , {\displaystyle C,} E , {\displaystyle E,} and F . {\displaystyle F.} The relation of one sequence being the subsequence of another is a partial order...
Nº Q1332977 ★
Common · Knowledge
Subsequence
Binary relation between sequences (strings)
In mathematics, a subsequence of a given sequence is a sequence that can be derived from the given sequence by deleting some or no elements without changing the order of the remaining elements. For example, the sequence ⟨ A , B , D ⟩ {\displaystyle \langle A,B,D\rangle } is a subsequence of ⟨ A , B , C , D , E , F ⟩ {\displaystyle \langle A,B,C,D,E,F\rangle } obtained after removal of elements C , {\displaystyle C,} E , {\displaystyle E,} and F . {\displaystyle F.} The relation of one sequence being the subsequence of another is a partial order...
From Wikipedia
In mathematics, a subsequence of a given sequence is a sequence that can be derived from the given sequence by deleting some or no elements without changing the order of the remaining elements. For example, the sequence ⟨ A , B , D ⟩ {\displaystyle \langle A,B,D\rangle } is a subsequence of ⟨ A , B , C , D , E , F ⟩ {\displaystyle \langle A,B,C,D,E,F\rangle } obtained after removal of elements C , {\displaystyle C,} E , {\displaystyle E,} and F . {\displaystyle F.} The relation of one sequence being the subsequence of another is a partial order. Subsequences can contain consecutive elements which were not consecutive in the original sequence. A subsequence which consists of a consecutive run of elements from the original sequence, such as ⟨ B , C , D ⟩ , {\displaystyle \langle B,C,D\rangle ,} from ⟨ A , B , C , D , E , F ⟩ , {\displaystyle \langle A,B,C,D,E,F\rangle ,} is a substring. The substring is a refinement of the subsequence. The list of all subsequences for the word "apple" would be "a", "ap", "al", "ae", "app", "apl", "ape", "ale", "appl", "appe", "aple", "apple", "p", "pp", "pl", "pe", "ppl", "ppe", "ple", "pple", "l", "le", "e", "" (empty string).
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
-
R
Recurrence relation
Sequence or array in which each further term is defined as a function of the preceding terms
Nº Q740970 ★★
Not listed
-
Subset
Set whose elements are all contained in another set
Nº Q177646 ★★
Not listed
-
Substring
Subsequence of the symbols in a string, where the order of the elements is preserved
Nº Q2626534 ★
Not listed
-
L
Longest increasing subsequence
Algorithm to find the longest increasing subsequence in an array of numbers
Nº Q4183855 ★
Not listed
-
Fibonacci sequence
Entire infinite integer series where the next number is the sum of the two preceding it (0,1,1,2,3,5,8,13,21,...)
Nº Q23835349 ★★★★★
Not listed
-
L
Lucas sequence
One of certain constant-recursive integer sequences
Nº Q1759646 ★★
Not listed