Databricks logoDatabricks
Coding·55 minMembers

Optimal Commute Grid

Members only

Find the fastest transportation mode from `S` to `D` in a grid where each cell is a mode, `X` is blocked, and each mode has per-block time and cost. Tie-break on total cost; follow-ups allow turns or ...

SWE
grid
bfs
dijkstra
medium
Frequency
High
Last asked
2026-06-29
Stage
phone-screen · onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...