... 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
In reply to Re^2: Brute force vs algorithm (PWC # 100)
by LanX
in thread Brute force vs algorithm (PWC # 100)
by 1nickt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |