Onsite: Coding

45 to 60 minVideo call or in person, editor that doesn't run codeSDE II or senior engineer, often with a shadow

One or two of the loop's rounds, two for new grads. Like every loop round, it opens with about 2 Leadership Principles questions (15 to 30 minutes), then 1 or 2 medium to hard problems. Graphs, trees, dynamic programming, heaps and sliding window come up most. Some 2026 in-person loops in India used pen and paper.

Questions candidates were asked

  • Trapping Rain WaterMost askedDSASenior
  • LRU CacheMost askedDSAMid
  • Course dependencies with a per-semester limitComing soonDSAAll levels

What it tests

  • Graphs, trees, dynamic programming, heaps and sliding window
  • Going from brute force to optimal and explaining the trade-offs
  • Clean code, edge cases and dry runs without a compiler
  • Leadership Principles depth in the opening minutes

Coding round guide

Tips from candidates

  • Ask clarifying questions before you code. Problems are often framed as a story about a real Amazon scenario.
  • Say the brute force out loud, then the optimal approach and its complexity before you write it.
  • Keep your Leadership Principles answers tight so you don't lose time for the problem.