Halloween Sale
Unlock all premium questions for over 30% off
Diagonal Server Redirect Path
Hard
Question
Picture a set of servers placed at distinct integer points of an infinite 2D grid; locations[i] = [x, y] is where server i is. When an HTTP request comes in, it is first handled by the server at locations[0], and then the redirects in redirectRecords pass it from server to server, one redirect at a time.
...
Asked at:Amazon
More Amazon interview questions
- Minimum Variant Conversion Costmedium
- Reversi Single Move Simulationmedium
- Design Card Draw Gamemedium
- Meeting Room Assignmentmedium
- Find Minimum City Hopsmedium
- OA [CodeSignal] Maximum Protected City Populationmedium
- [CodeSignal] Minimum Security Groupsmedium
- [CodeSignal] Drone Hub Travelmedium
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.