Microsoft logoMicrosoft
Coding·90 minMembers

Minimum Fuel Cost Across a Road Network

Members only

In a 90-minute Microsoft OA, minimize the cost to travel from A to B in an undirected weighted road network where each city sells fuel at a different price and vehicles have unlimited capacity. Return...

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

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...