Knight's tour: Difference between revisions
m
→Alternate Solution Without Backtracking: formatting of output
SqrtNegInf (talk | contribs) m (→Alternate Solution Without Backtracking: formatting of output) |
|||
Line 3,897:
}</lang>
{{out}}
<pre style="height:20ex">Found a path for 8 X 8 chess board.
->(0,3)->(1,1)->(3,0)->(5,1)->(7,0)->(6,2)->(7,4)->(6,6)->(4,7)->(2,6)->(0,7)->(1,5)->(2,7)->(0,6)->(1,4)
Line 4,845 ⟶ 4,843:
->(25,48)->(27,47)->(29,46)->(31,45)->(33,44)->(35,43)->(37,42)->(39,41)->(41,40)->(43,39)->(45,38)->(47,37)->(46,39)->(48,38)->(50,37)
->(52,36)->(54,35)->(56,34)->(58,33)->(60,32)->(62,31)->(64,30)->(66,29)->(68,28)->(69,30)->(71,29)->(73,28)->(75,27)->(77,26)->(79,25)</pre>
=={{header|Javascript}}==
|