WHAT IS THE BEST ALGORITHM FOR FINDING ALL THE SUBSET OF A GIVEN SET ?

I am sorry bro, this is related with a question from on-going contest and so answering to this question is against the rules of codechefâ€¦

You can do it in O(2^N) !!

WHAT IS THE BEST ALGORITHM FOR FINDING ALL THE SUBSET OF A GIVEN SET ?

You can do it in O(2^N) !!