direction in which I am thinking is that maybe I could compute max and min rang query matrix and then from both sides start and end somehow figure out the outer boundaries .... but as QM said i see no way to avoid full all-pair traversal of the matrix ... also i am thinking in direction of maybe starting the taversal from the highest value in the matrix and working my way to reach start and end point but i am not sure if this is a good way to go...
In reply to Re^4: Highest total sum path problem
by baxy77bax
in thread Highest total sum path problem
by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |