Xpert
05-12-2011, 09:18 PM
How it is possible For the substrings of the string "rum" there are seven: "r", "ru", "rum", "u", "um", "m", ""
For the subsets of the string "rum" there are eight: "r", "ru", "rum", "u", "um", "m", "rm", "".
So the only difference is "rm" in the second. I think I have created a program for the second one.
For the subsets of the string "rum" there are eight: "r", "ru", "rum", "u", "um", "m", "rm", "".
So the only difference is "rm" in the second. I think I have created a program for the second one.