Solve hanging lantern problem: Difference between revisions

m
Line 426:
}}</lang>
 
Examples of this approach are left as an exercise for the user (note: do not use commas with this version, unless you modify the code to treat them as whitespace).
 
Finally, enumerating solutions might be approached recursively:
6,951

edits