ByteDance / TikTokCoding·60 minMembers
Minimum-Cost Path on a Grid with Fuel and Recharge Cells
Members only
Weighted-cost grid traversal from top-left to bottom-right with a fuel budget that depletes per step, can be refilled at marked cells, and is bounded by some cells being fully blocked.
SWE
grid
dijkstra
bfs
dp
hard
Frequency
Single report
Last asked
2026-04-05
Stage
phone-screen · onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
