amazon logo
Amazon· SDE-1

Amazon SDE-1

Experience
1.5 years
Posted
4 Apr 2025
255 reads

Summary

I interviewed for an SDE-1 role at Amazon after clearing the OA. The experience involved two rounds focused on data structures and algorithms, covering problems like searching in a sorted matrix, topological sort with an optimization follow-up, and a two-pointer problem similar to Reverse Pairs. I haven't received an offer and suspect a rejection due to the quality of my follow-up code.

How it went

Got call for interview after 2 months giving amazon OA.

First Interview:

1. Given an element and a matrix, need to find element in matrix, rows are sorted so just used binary search in this.
2. Normal topological sorting question https://leetcode.com/problems/course-schedule-ii/ but after there was a follow up to optimize it.

Second Interview:

1. Two pointers question to find (i,j) pairs for a given condition.
2. This was a follow up of first question similar to this one https://leetcode.com/problems/reverse-pairs/description/

I haven't heard from recruiter then it been around 1 week, thought interviewer was not happy with follow up code quality so this leads to rejection.

Questions asked (3)

  1. 01

    Search Element in Sorted Matrix Rows

    Data Structures & Algorithms · Medium

    Given an element and a matrix where rows are sorted, find the element in the matrix. I used binary search.

  2. 02

    Course Schedule II with Optimization

    Data Structures & Algorithms · Medium

    A normal topological sorting question similar to LeetCode's Course Schedule II. There was a follow-up to optimize it.

    Open the problem
  3. 03

    Reverse Pairs (Follow-up)

    Data Structures & Algorithms · Hard

    This was a follow-up to the previous two-pointer question, similar to LeetCode's Reverse Pairs problem.

    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!