Amazon Interview Questions
Curated from verified interview reports: logistics-flavored OA rounds (drone routing, secure deliveries, product ratings) plus classic tree/graph Coding rounds.
6 real interview questions reported from Amazon Software Engineer interviews (Coding, OA rounds): 3 medium, 3 hard. Each question shows its interview round and how often it was reported, and coding questions come with runnable tests.
Amazon Coding round questions (2)
- Binary Tree Cameras - Hard, free preview
Place the fewest cameras so every tree node is monitored by itself, its parent, or one of its immediate children. - Find Minimum City Hops - Medium, free preview
Treat 3-letter city codes like Word Ladder nodes and compute the fewest one-letter hops between two cities.
Amazon OA round questions (4)
- Drone Hub Travel - Medium
Visit requested hubs on a circular Amazon drone ring where each move costs the time to leave the current hub, not a plain edge weight. - Maximum Product Rating - Hard
Spend at most k total +1 operations across ratings, then choose m products whose bitwise AND is as large as possible. - Maximum Secure Deliveries - Medium
Split delivery logs across exactly k warehouses so the bottom half remains as large as possible after the largest k/2 warehouses are compromised. - Permutation Sorter - Hard
Sort a permutation using only whole-array reverse and one-step left rotation, taking the minimum number of operations.