Microsoft logoMicrosoft
Coding·90 minMembers

Minimum Fuel Cost Across a Road Network

Members only

Microsoft's 90-minute OA included a difficult weighted-graph task about travel cost under location-dependent pricing. It was the second and substantially harder problem, and hidden tests punished inefficient approaches. The full card preserves the exact function contract and worked example.

SWE
graph
shortest-path
hard
Frequency
Low
Last asked
2026-08-11
Stage
oa

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...