amazon logo
Amazon· SDE Intern

Amazon SDE Intern Interview Experience

Posted
18 Oct 2026
2 reads

Summary

I interviewed for an Amazon SDE Intern position, completed a virtual technical round with coding and leadership questions, and was shortlisted.

How it went

My code was cleaner than my explanation. That was the biggest lesson from my Amazon SDE Intern interview.

Reading other candidates' experiences helped me a lot while preparing, so here's mine.

Quick Facts

  • Role: SDE Intern
  • Format: Virtual technical round
  • Result: Shortlisted
  • Contents: Intro, Coding problems, then leadership principle related questions

Question 1: Spiral (zigzag) level-order traversal of a binary tree

Print the nodes of a binary tree level by level, alternating direction: left to right, then right to left, and so on. For a full tree with nodes 1 to 7, the output is 1 3 2 4 5 6 7.

Approach: A level-by-level BFS, using either two stacks (flipping the order children are pushed on alternate levels) or a queue with every second level reversed.

Complexity: Time O(n), space O(n).

Question 2

Minimum delivery partners on a grid. Given an m × n grid of '1' (house) and '0' (empty), houses connected to each other can be served by one partner. Find the minimum number of partners needed.

Approach: Connected components with DFS. Each time I find an unvisited house, I increment the count and mark everything connected to it as visited.

Complexity: Time O(m × n), space O(m × n) worst case for the stack.

Leadership Principles / behavioral questions

The round ended with questions about decisions I'd made and how I handled difficult situations. The key is being specific about what you personally did, as opposed to what the team did.

What I learned

Solving a problem and communicating a solution are two different skills, and hundreds of LeetCode problems don't teach the second one.

Knowing the optimal approach isn't enough. You have to explain why it works, discuss trade‑offs, and make your thinking easy to follow.

Questions asked (2)

  1. 01

    Spiral (zigzag) level-order traversal of a binary tree

    Data Structures & Algorithms

    Print the nodes of a binary tree level by level, alternating direction: left to right, then right to left, and so on. For a full tree with nodes 1 to 7, the output is 1 3 2 4 5 6 7.

  2. 02

    Minimum delivery partners on a grid

    Data Structures & Algorithms

    Given an m × n grid of '1' (house) and '0' (empty), houses connected to each other can be served by one partner. Find the minimum number of partners needed.

How they prepared

  • Explain each solution out loud before coding
  • State complexity and trade‑offs without being asked
  • Prepare 3 or 4 STAR stories where you clearly say "I did..."

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Amazon recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!