Amazon SDE-1
Company: Amazon
Role: SDE I
Interview Stage: Onsite
Location: unknown
Year: unknown
Original Post Content:
YOE: 1.5
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.
Hope this helps!