Jump to content

Solve the no connection puzzle: Difference between revisions

m
(Added 11l)
Line 2,548:
</pre >
 
=={{header|Mathematica}}/{{header|Wolfram Language}}==
This one simply takes all permutations of the pegs and filters out invalid solutions.
<lang Mathematica>sol = Fold[
1,111

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.