in reply to Re: Brute force vs algorithm (PWC # 100)
in thread Brute force vs algorithm (PWC # 100)

You are describing the dual problem of maximizing a path instead minimizing it.

... 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

  • Comment on Re^2: Brute force vs algorithm (PWC # 100)