User Tools

Site Tools


prelude_2_to_backtracking_--_subsets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

prelude_2_to_backtracking_--_subsets [2011/10/03 12:20] – created jtkorbprelude_2_to_backtracking_--_subsets [2011/10/04 14:45] (current) jtkorb
Line 9: Line 9:
 ===== Output ===== ===== Output =====
  
-For each input value, N, generate the subsets of the numbers 1..N.  Each subset should be on a line by itself, surrounded by { }, in lexicographic order (see sample output).  A single blank line should separate each test case.+For each input value, N, generate the subsets of the numbers 1..N.  Each subset should be on a line by itself, surrounded by { }, in the order shown below (which is the "natural" order when following the strategy outlined in class).  A single blank line should separate each test case.
  
 ===== Sample Input ===== ===== Sample Input =====
prelude_2_to_backtracking_--_subsets.1317669617.txt.gz · Last modified: 2011/10/03 12:20 by jtkorb