Fifteen puzzle solvability, Numworks Python
|
04-09-2020, 12:13 PM
Post: #4
|
|||
|
|||
RE: Fifteen puzzle solvability, Numworks Python
(04-09-2020 08:32 AM)stored Wrote: Without "99" you can get a bit simpler code:This works for the data you showed, but it does not work with this data: [15,9,2,14,4,6,0,8,11,1,13,3,7,12,5,10] that data should return 58, but it returns 62 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)