Shortest path to grid boundary
Filed under Groupon
The question
In a grid with values at each location, find the shortest path from a given position to any boundary.
No write-up yet. Related questions below have one.
Related Groupon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.