Hello my fellow leetcoders. I have recently given interview for SDE2 position at Amazon.
The rounds went overall like this-
Hackerrank OA:-
i) Count total number of continuously decreasing subarrays.( Pretty easy DP)
ii) Also something based on subarrays, solved using DP.
1st onsite round(LLD):
i) Asked few LP questions.
ii) Then asked to design classes for an Amazon family of products.
iii) This question had a algorithmic part to it related to streaming, solved using a segment tree implementation, but looking back any kind of auto balancing tree would be fine.
2nd onsite round(Coding):
i) Asked few LP questions.
ii) Asked a graph question, a modification of this.
3rd onsite round(HLD):
i) Asked few LP questions.
ii) Design Picasa/Flickr.
4th round(Bar Raiser):
i) This was 60% LP questions.
ii) 20% for an coding question, rearrange a string such that no two consecutive letter are similar.
I got the offer confirmation of 5 days after the last round.
6 months ago I failed Amazon OA, after 6 months of leetcode and over 500+ questions, I found the overall difficulty of the interview pretty managable.
My humble thanks to the website and the community for being a such a great help.
You can find the offer details here.