Amazon SDE-3 coding interview questions
These are the 10 coding questions YourAlly has tagged for Amazon at SDE-3. SDE-3 is the common India title for this level. Amazon calls it L6, Senior SDE (SDE III). YourAlly treats it as Senior, the same level as Google L5 and Meta E5. Amazon L6 is not the same level as Google L6 or Meta E6, which are Staff.
A coding round at a large tech company usually runs 45 to 60 minutes with one or two problems. You write code that runs, test it on your own examples and state its time and space cost. At this level the bar is a correct, tested solution you reach mostly on your own, with the trade-offs said out loud.
Practice a mock Amazon SDE-3 coding loopPractice Amazon coding questions
Critical Links Between Availability ZonesFree to read
Network nodes 0 to n-1 are joined by undirected links. A link is critical if removing it disconnects two nodes that were connected. Return every critical link as [smaller, larger], sorted ascending.
Input: n = 4, connections = [[0,1],[1,2],[2,0],[1,3]] Output: [[1,3]]
What a strong answer covers
- Tarjan low-link bridge condition low[child] > disc[parent]
- Parallel links handled by edge id
- Iterative DFS to avoid recursion limits
- Covers disconnected graphs
- O(n + e + b log b) time including the final sort
9 more coding questions
- Build Order for Catalog Pipelines Locked
- Distance to Nearest Charging Dock Locked
- Fewest Shuttle Transfers Locked
- Maximize Delivery Slot Revenue Locked
- Minimum Conveyor Capacity for Deadline Locked
- Minimum Trucks for Package Pairs Locked
- Rolling Median Request Latency Locked
- Shortest Aisle Span Covering an Order Locked
- Merge Two Sorted Lists Locked
Related pages
More Amazon SDE-3 rounds
- System design 7 questions
- Behavioral 26 questions
- Project retrospective 10 questions
Amazon coding at other levels
- Principal 6 questions
- Senior Principal 6 questions
Other companies at this level
- Adobe SDE-3 7 questions
- Apple SDE-3 7 questions
- Cisco SDE-3 6 questions
- Google SDE-3 14 questions
- IBM SDE-3 6 questions
- Intel SDE-3 6 questions