Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2812. Find the Safest Path in a Grid
Compute each cell's Manhattan distance to the nearest thief, then find a path from (0,0) to (n-1,n-1) that maximizes the minimum of those distances along the path — a max‑min (bottleneck) path problem on a grid.
Asked at:
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late May, 2025
Meta
Senior
Late December, 2024
Mid-level
Find the Safest Path in a Grid
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.