Amazon SDE-1

amazon logo
amazon
SDE-11.5 years
April 4, 20252 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.

Full Experience

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.

Interview Questions (3)

Q1
Search Element in Sorted Matrix Rows
Data Structures & AlgorithmsMedium

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

Q2
Course Schedule II with Optimization
Data Structures & AlgorithmsMedium

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

Q3
Reverse Pairs (Follow-up)
Data Structures & AlgorithmsHard

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

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!