I don't understand the following definition of a contiguous subsequence:
A contiguous subsequence of a list S is a subsequence made up of consecutive elements of S.
If S is {5, 15, -30, 10, -5, 40, 10}
then 15, -30, 10
is a contiguous subsequence.
What makes 15, -30, 10
a contiguous subsequence?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…