Amazon Luxembourg | SDE2
Company: Amazon
Role: SDE2
Interview Stage: Onsite
Location: Luxembourg
Year: unknown
Original Post Content:
I interviewed for one of the teams at Amazon Lux, sharing my experience
Round 1:
a. Tell me about a time you received a critical feedback? How was it? How you reacted?
b. Tell me about a project where you exceeded expectation
c. System Design - Design a synchronisation mechanism for Kindle. Suppose you are on page 10 in one of your devices, you should be given an option to jump to the progress in a new device. Take authentication, book catalog, session management as for granted. Just focus on the sync mechanism.
Round 2:
a. Tell me about a time your colleagues disagreed with something you proposed.
b. Tell me about a time you went above and beyond
c. Coding question:
Congratulations! You are a spy now :) You first assignment is to create a program that takes a string and number of rows as inputs and returns the string in an encoded format. Example
The string "IOPENATTHECLOSE"
Number of rows: 3
I N H O
O E A T E L S
P T C E
Output: "INHOOEATELSPTCE"
Do it in minimum time and space complexity
Round 3:
a. 2 LP questions (I don't remember the questions)
b. Coding question:
You need to develop a price analyzer. We will start by analyzing the most frequent price.
Every time a new order is closed, your class will be called to start considering a new price.
At a different rate, your system will be called to disconsider the oldest price.
1. void add(double price): add a new price to the statistical tracker module
2. void removeOldestPrice(): remove the oldest price added to the module
3. double mode(): return the price with maximum number of occurrences so far
Round 4:
a. 4 LP questions
b. Coding question -
On prime video, every user has a wish list of movies they want to watch.
Every user also has a list of friends. Each of those friends has their own wish list and friends list.
Implement a function that finds the most popular movie for a person in his network of friends.
I was able to code all the questions, probably they were not satisfied with the LPs.
VERDICT - Reject