[AMOF] [INFO] [Schoolnet Icon]


Generate Subsets

What Type? (Choose one)
Subsets of {1,2,...,n} in lex order
Subsets of {1,2,...,n} in Gray code order

Input: (1 <= n < 20)
n =

Output: (Choose one or more)
Bitstring representation.
List of elements.
Transposition or bit change (if applicable).
Towers of Hanoi (only applicable for Gray code order).




[AMOF] [INFO] [Schoolnet Icon]


This page created by Frank Ruskey, June 1996.