Given a set of characters. Find the power set or super set of the set. For example, S={a,b,c}, then powerSet = {{}, {a}, {b}, {c}, {a,b}, {b,c}, {a,c}, {a,b,c}}. For a set of n elements there are 2^n elements on the super set including the empty set. The brute-force method would be to find all […]