SLIDE 1
Genera&ng ¡a ¡power ¡set ¡
- Given ¡a ¡set ¡of ¡elements, ¡would ¡like ¡to ¡find ¡set ¡
- f ¡all ¡subsets ¡
– [1, ¡2, ¡3] ¡ – Leads ¡to ¡[], ¡[1], ¡[2], ¡[3], ¡[1, ¡2], ¡[1, ¡3], ¡[2, ¡3], ¡[1,2,3] ¡
- To ¡find, ¡can ¡use ¡recursive ¡approach: ¡