Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Code challenge: Route planning on a 2D grid

by bliako (Monsignor)
on Mar 16, 2020 at 07:09 UTC ( [id://11114323]=note: print w/replies, xml ) Need Help??


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.

  • Comment on Re^3: Code challenge: Route planning on a 2D grid

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11114323]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-25 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found