You have to create subsequences which you may create, need to compare, so you need a class SubSequence or Sequence which has an "equal" function. This "equal" function may be something like:
bool operator==(const SubSequence &op)
bool isSubsequence(SubSequence *seq);SubSequence(string text);SubSequence* allSubsequences();
Tip: even if not all works some parts will do, and you get hopefully enough points ;-)