- How many subsets does the empty set {} have?
- What should
subsets
report in the base case? This is a hard part to get right!
- How many subsets of {Pretzel, Apple, Orange, Banana} contain Pretzel? How many don't?
- Describe "the subsets of {Pretzel, Apple, Orange, Banana} that don't contain Pretzel" without using the words "don't contain."
From the Snap! file menu, choose "Libraries..." at the bottom, then choose "List Utilities" to load append
and other list operations.
- Here's one version of what the code might look like, with many spaces to fill…
