Just another Perl shrine | |
PerlMonks |
Re^2: Highest total sum path problemby LanX (Saint) |
on Mar 08, 2020 at 00:24 UTC ( [id://11113955]=note: print w/replies, xml ) | Need Help?? |
> "real matrix is 50000*50000" HaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHa It's not that impossible if the approach was mathematical. Of course this would require cleanly defined rules and not these "oh good point I forgot to mention that ..." dialogs.° How this?
In short, no need to brute force all possible paths if there are plenty optimal ones and picking one is sufficient. Of course I might have misunderstood the "rules", but why should I risk to invest more efforts for vain ? ;) For instance:
Cheers Rolf °) read "I have no real clue what I need"
updateYour solution demonstrates my approach pretty well:
In Section
Seekers of Perl Wisdom
|
|