The stupid question is the question not asked | |
PerlMonks |
Re^3: Code challenge: Route planning on a 2D gridby bliako (Monsignor) |
on Mar 16, 2020 at 07:09 UTC ( [id://11114323]=note: print w/replies, xml ) | Need Help?? |
No, sorry I was not clear. No back-movement only with respect to the horizontal axis: it goes from left (starting square) to right (ending square) with as many up-and-downs as it likes. Although in hindsight I can see that a good strategy is to zig-zag your way along the current column and its 2 neighbours picking highscores and avoiding negatives.
In Section
Meditations
|
|