I have a set ={1,2,3,4}. I want to create power set of this set. One way to create the power set is to take every element as binary(0/1) and print all possible combination.
I was thinking about some utility/library in java to do the same.
I have a set ={1,2,3,4}. I want to create power set of this set. One way to create the power set is to take every element as binary(0/1) and print all possible combination.
I was thinking about some utility/library in java to do the same.