my output is correct how i formed it in reverse ordewr
Https://ide.codingblocks.com/s/261306
ur logic to get length is wrong.
number of subsequence will be 2^n where n is the length of given string.
so simply print pow(2,n)
my output is correct how i formed it in reverse ordewr
ur logic to get length is wrong.
number of subsequence will be 2^n where n is the length of given string.
so simply print pow(2,n)