Solve the no connection puzzle: Difference between revisions

Content added Content deleted
m (J: kibitz)
Line 740: Line 740:
4 - 6
4 - 6
</lang>
</lang>

For this puzzle, we can also see that the solution can be described as: put the starting and ending numbers in the middle - everything else follows from there. It's perhaps interesting that we get this solution even if we do not explicitly put that logic into our code - it's built into the puzzle itself and is still the only solution no matter how we arrive there.


=={{header|Java}}==
=={{header|Java}}==