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}
then15, -30, 10
is a contiguous subsequence.
What makes 15, -30, 10
a contiguous subsequence?
The form a subset that are next to each other within the set.
con·tig·u·ous/kənˈtigyo͞oəs/Adjective
1. Sharing a common border; touching.
2. Next or together in sequence.