Can anyone have solution while going through constraints;
Solution1 is count all subset and store in array. return them top k only but it is TLE TC:O(2 ^n)
any optimized solution?