Status: 4.5 Years of Experience
Position: SDE2 at Amazon
Location: Bengaluru, India
A preliminary codility round was taken, post that there were 4 technical rounds
Round 1)
https://leetcode.com/problems/increasing-triplet-subsequence/
I gave a quick O(N^2) approach and optimised it to O(N*log(N)). But later I realised it was an easy O(N) solution. However, the interviewer moved ahead. He further asked me a design quesstion on how to design an auto search and display top 10 items for a given keyword.
Round 2)
https://leetcode.com/problems/rotate-image/
O(2*N*N) approach was accepted
Another question where a mapping of employees to their manager was provided and we had to find the cmmon manager which was nearest in their heirarchy.
For Eg:
If A-> B ->C
and D-> E->B->C is the order of the heirarchy for employees A and D, then the answer should be B.
An easy DFS solution was accepted.
Round 3) (HLD)
Some discussion on the design I was currently working on.
The second question I was asked was to design an extensions store.
It was an open ended question and I had to clarify the functional requirements.
Some of them were:
-> Users should be able to download extensions
-> Users should be able to upload extensions
-> Top extensions should be displayed on the homepage etc
Round 4)
Some behavioral questions like the most impactful work, the most challenging work and questions related to leadership qualities.
Discussed another HLD questions in last 15 mins, design a key value store.


