i did'nt try anything yet, cause i can manage to think of an idea that can check all the option. what makes the question harder is that no number can be left out side of one of the Subsequence.
for example {1,2,3,5,6}- 1,2,3 and 6, so 5 is outside

unfortunatly i did'nt try anything yet, cause i can manage to think of an idea that can check all the options. what makes the question harder is that no number can be left out side of one of the Subsequence.
for example {1,2,3,5,6}- 1,2,3 and 6, so 5 is outside

So what is your definition of a subsequence? I still don't understand what you are saying at all.

i need to find two subsequences of a sequence that includes all the number in the sequence that it.
a subsequence can be everything but i need two that includes all the numbers in the sequence