Amazon logoAmazon
Coding·40 minMembers

Drone Delivery on a Hub Ring — Minimum Travel

Members only

OA problem. `m` hubs sit on a ring (1-indexed); a drone starts at Hub 1 and must visit `requestedHubs` in order, each leg taking the shorter of the clockwise / counter-clockwise path measured by per-e...

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...