Sequence Permutation
Budget: $10 – $30 USD
Given a sequence such as abcd. I want to automatically generate all the possible subsequence combinations such that there are no overlaps. For example, abcd can produce a, b, c and d. it can also produce ab and cd. it can also produce acd and b but cannot produce ac and bd because ac and bd overlaps in positional order b is between ac and c is between bd. So, this subsequence is invalid. I want the start and end position of each subsequence recorded. I want this code written in C++.