Does the recursive code for printing all the subsets of a string and printing all the sub-sequences of a string varies? As we know that sub sequences of a string are part of the subsets of a string for example:
string str="abc";
sub sequences of str : " ", a , b , c , ab , bc , ac , abc;
subsets of str : " ", a , b , c , ab , ba , bc , cb , ca , ac , abc , acb , bac , bca , cab , cba;