I applied through a recruiter. I interviewed at Amazon (Berlim)
Interview
The first part was the Amazon Leadership Principles question. Then, there was a Leetcode Medium question. First, I solved the question in suboptimal way and we discussed the time and space complexity. The interviewer was helpful and kept giving hints to solve the issue optimally.
Interview questions [2]
Question 1
The LP question was something like: tell about the situation, when you had to deal with very time-constraint project/task.
Design a data structure that tracks visitors in a queue with the following requirements:
- Possibility to return the last person in the queue, who visited only once
- All operations must be O(1) time complexity
visit("Alice") -> Queue: [Alice]
visit("Bob") -> Queue: [Alice, Bob]
visit("Charlie") -> Queue: [Alice, Bob, Charlie]
visit("Bob") -> Queue: [Alice, Charlie] (Bob removed because second visit)
get_last_unique() -> Returns "Charlie"
visit("David") -> Queue: [Alice, Charlie, David]
visit("Charlie") -> Queue: [Alice, David] (Charlie removed because second visit)
get_last_unique() -> Returns "David"
Interviewed for silicon team. Have only been asked about the domain specific knowledge in 1st round and system design in 2nd round and C coding in 3rd round.
The interviews were 50 mins each.
First round with hr screening - 2 leetcode questions then hr manager screening then the loop which consists of 4 interviews each an hour long. The 4 interview questions they asked where three medium leetcode questions. And one system design interview question about how to shadow deploy a test software to millions of users.
Recruiter reaches out after applying through Amazon careers, no referral. Had an initial OA, then after a month had four rounds in two days - three coding one system design. Each round had 30 min behavioral and 30 min coding.
Interview questions [1]
Question 1
Questions were mainly hashmap, sliding window and interval related.