Note: Even though there really is nothing stopping you from finding a solution to this on the internet, try to keep honest, and come up with your own answer. It's all about the participation!
Do you have code puzzlers that you'd like to share with the DZone community? If so, please submit here.
Write a function that calculates all possible subsets of a given power set passed in as a array of Strings.
Catch up on all our previous puzzlers here.