#first set generates normally ABCD #ABCD is the first set, store internally BCD ACD ABD ABC AB AC BC AD BD CD A B C D #second set is ABE a subset of ABCD? NO -> print #ABE is the first set, store internally is AB a subset of ABCD? YES -> skip is AE a subset of ABCD? NO -> print is BE a subset of ABCD? NO -> print is A a subset of ABCD? YES -> skip is B a subset of ABCD? YES -> skip is E a subset of ABCD? YES -> skip #third set is ABC a subset of ABCD? YES -> skip #generates nothing, stores nothing #fourth set is EF a subset of ABCD? NO -> is EF a subset of ABE? NO -> print is E a subset of ABCD? NO -> is EF a subset of ABE? YES -> skip is F a subset of ABCD? NO -> is F a subset of ABE? NO -> print internally, we only need to store ABCD, ABE, and EF for 3 bytes of data stored - a 95.3% storage savings.