in reply to Re^2: Code challenge: Route planning on a 2D grid
in thread Code challenge: Route planning on a 2D grid
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.
|
|---|