Regarding output of the program

It is not clear whether we have to return the count of subsequences or print the subsequences please clarify it??

Hi Indrajeet

You need to print both the subsequences and the count of the subsequences as mentioned in the output format too.