SUBSET OF SET

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… :slight_smile:

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