AmazonCoding·40 minMembers
Drone Delivery on a Hub Ring — Minimum Travel
Members only
A recurring NG SDE OA coding problem in the 2026 cycle. A delivery agent walks a circular set of hubs, visiting a requested sequence, and you minimize total travel. It looks like an easy ring-distance sum until the wrap-around between the last and first hub — and a degenerate two-hub ring — quietly break naive solutions.
SWE
array
prefix-sum
simulation
greedy
medium
Frequency
Medium
Last asked
2026-09-09
Stage
oa
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
