Amazon SDE-1
- Experience
- 1.5 years
- Posted
- 4 Apr 2025
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)
- 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.
- 02
Course Schedule II with Optimization
Data Structures & Algorithms · Medium
Open the problemA normal topological sorting question similar to LeetCode's Course Schedule II. There was a follow-up to optimize it.
- 03
Reverse Pairs (Follow-up)
Data Structures & Algorithms · Hard
Open the problemThis was a follow-up to the previous two-pointer question, similar to LeetCode's Reverse Pairs problem.