in reply to Re: Brute force vs algorithm (PWC # 100)
in thread Brute force vs algorithm (PWC # 100)
... but yeah starting with penultimate row will take advantage of the triangle structure.
But you still need to visit all cells, branch-and-bound might help avoiding this.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|