Online Assessment | 2022
Anonymous User
175

image
image
image

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?

Comments (0)