Post Reply 
Challenge: sum of squares. Let's break 299
01-19-2018, 06:31 AM
Post: #6
RE: Challenge: sum of squares. Let's break 299
Instead of a brute force backtracking algorithm, build a graph with the numbers as nodes and edges where they sum to a square. Then find a Hamilton walk with a backtracking search.


Pauli
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Challenge: sum of squares. Let's break 299 - Paul Dale - 01-19-2018 06:31 AM



User(s) browsing this thread: 2 Guest(s)