ScratchData LogoScratchData
Back to jgatcomb's profile

All Combinations (How To: Generate Powerset)

JGjgatcomb•Created August 24, 2013
All Combinations (How To: Generate Powerset)
5
4
388 views
View on Scratch

Instructions

This is a "How To" program explaining how to generate the powerset of a list. A powerset is all combinations of all possible sizes. Technically, the powerset should also contain the empty set but I choose to omit that. This program limits the list size to 9 since there are 2^N items in a powerset. Click on the green flag to see it in action Please let me know if you have questions or comments. Cheers, Joshua

Description

Added 2013-08-24

Project Details

Project ID11990244
CreatedAugust 24, 2013
Last ModifiedAugust 24, 2013
SharedAugust 24, 2013
Visibilityvisible
CommentsAllowed