Earn your B.S. in Network Operations and Security and become a network and IT security expert. This WGU degree program curriculum was designed with tech-savvy, self-motivated students in mind â€“ allowing you to use your technical expertise, to address real-world business problems.

Iterative:

lets look at a binaric number with 3 digits:

000

001

010

..

..

111

lets say that every digit represents

if an Item appears or not in the group.

Actualy we got all the sub-sets....

Recursive:

R(n)

for n items,

the groups are R(n-1) items + the n'th item with the group and without the group.

If a |group|=1, then its only

with and without the item in the group.

Any questions...