YourAlly

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

  1. Build Order for Catalog Pipelines Locked
  2. Distance to Nearest Charging Dock Locked
  3. Fewest Shuttle Transfers Locked
  4. Maximize Delivery Slot Revenue Locked
  5. Minimum Conveyor Capacity for Deadline Locked
  6. Minimum Trucks for Package Pairs Locked
  7. Rolling Median Request Latency Locked
  8. Shortest Aisle Span Covering an Order Locked
  9. Merge Two Sorted Lists Locked

Sign up free to practice all 10

Related pages

More Amazon SDE-3 rounds

Amazon coding at other levels

Other companies at this level

Company guide

Amazon interview guide in Academy