Question d’entretien chez FINRA

Technical problem: How to compute power set?