Amazon | SDE2 | May 2020 | Reject
Anonymous User
1234

I was contacted by the recruiter and I agreed to take the online test.

Reorder logs
Number of islands
Very similar to leetcode questions with very slight changes.

I was invited to virtual onsite after a week which had 4 rounds.

I felt I did well on 2 interviews and not so good in the other 2.
They conducting interviews for multpile folks on the same day.
I assume other candidates must have been well prepared than me.
My first interview after 4.5 years.. So was kind of raw and finally had to open my books/leetcode.
Hope to be very well prepared the next time around since I know the process/questions well now.

LP 3-4 questions.
Had never seen such a question on leetcode before but found to be easy once i started solving.
Medium Difficulty. Had to use binary search.
LP 3-4 quesions. SD - > Design a page counter to be displayed on all the amazon product pages.
LP 3-4 questions. Similar to leetcode question Word Break. Although I had solved I messed up on the edge cases.
LP 3-4 questions. OOD ( 30 mins) very basic. To design base classes, inheritance and methods to consume composite objects. Below question of OOD and added shape as another dimension.
https://www.careercup.com/question?id=5183557542608896

Relevant Questions:
coding test :
https://leetcode.com/problems/number-of-islands/
https://leetcode.com/problems/reorder-data-in-log-files/
Onsite :
https://leetcode.com/problems/word-break/
https://leetcode.com/problems/word-break-ii/
OOD:
https://www.careercup.com/question?id=5183557542608896
Other qeustion:
input = [[10,20],[30,40],[50,60]] , zipcode = 43
Given a range of zipcode which are sorted.
case 1) if zipcode falls in the existing range dont do anything
case 2) if zipcode is +-1 to the existing range expand the range and return new ranges.
case 3) if zipcode is exact middle of two ranges, merge the ttwo ranges.
case 4) No other option means create another range and return the complete list.

Comments (6)