amazon logo
Amazon· SDE 1

Amazon | SDE 1 | Interview Questions

Posted
13 May 2025
282 reads

Summary

I interviewed for an SDE 1 role at Amazon and faced several Data Structures & Algorithms problems across two rounds covering topics like intervals, linked lists, matrices, and stock trading.

How it went

Round 1:

  1. https://leetcode.com/problems/merge-intervals/
    Variation of this problem. Asked to tell the max number of events happening at once on a given day where the intervals denote the start and end day in the month
  2. https://leetcode.com/problems/add-two-numbers/

Round 2:

  1. https://leetcode.com/problems/spiral-matrix/
  2. https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/
    Variation of buy and sell stock where you can hold as many stocks as you wish

Questions asked (4)

  1. 01

    Max Concurrent Events from Intervals

    Data Structures & Algorithms

    Variation of Merge Intervals problem. Asked to tell the maximum number of events happening at once on a given day where the intervals denote the start and end day in the month.

    Open the problem
  2. 02

    Add Two Numbers

    Data Structures & Algorithms

    Given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.

    Open the problem
  3. 03

    Spiral Matrix

    Data Structures & Algorithms

    Given an m x n matrix, return all elements of the matrix in spiral order.

    Open the problem
  4. 04

    Best Time to Buy and Sell Stock II Variation (Unlimited Transactions)

    Data Structures & Algorithms

    Variation of Best Time to Buy and Sell Stock II, where you can hold as many stocks as you wish (i.e., you can complete multiple transactions).

    Open the problem

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!