Amazon | SDE 1 | Interview Questions

amazon logo
amazon
SDE 1
May 13, 20252 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.

Full Experience

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

Interview Questions (4)

Q1
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.

Q2
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.

Q3
Spiral Matrix
Data Structures & Algorithms

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

Q4
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).

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

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