If I am given a sequence X = {x1,x2,....xm}, then I will have (2^m) subsequences.
Can anyone please explain how can I arrive at this formula intuitivel
To anyone who is actually looking for a substring (as the title or URL might lead you to believe):
Subset: 2^n (Order doesn't matter in sets)
Subsequence: 2^n (Since we keep the original ordering, this is the same.)
Substring: n(n+1) * 1/2 (Elements must be consecutive)