Fall SalePremium questions, over 25% offUnlock all premium questions for over 25% off
[CodeSignal] Drone Hub Travel
Medium
Amazon is expanding its next-generation drone delivery network, consisting of m hubs arranged in a circular ring (Hub 1 is adjacent to Hub m). A drone can move to either adjacent hub, and the travel time between Hub i and Hub i+1 is given by transitionTime[i]. The travel time between Hub m and Hub 1 is transitionTime[m].
Amazon receives a list of priority delivery requests, where packages must be picked up or delivered to specific hubs in a given sequence, represented by the array requestedHubs of size n.
...
More Amazon interview questions
- [CodeSignal] Minimum Security Groupsmedium
- [CodeSignal] Maximum Product Ratinghard
- [CodeSignal] Permutation Sorterhard
- [CodeSignal] Warehouse Emergency Deliverieshard
- [CodeSignal] Maximum Secure Deliveriesmedium
- Binary Tree Camerashard
- Maximum Interval Overlapmedium
- Asteroid Collisionmedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.