Amazon 3*45 Interview
Company: Amazon
Role: SDE I / SDE II
Interview Stage: Onsite
Location: unknown
Year: unknown
Original Post Content:
I had a 3*45 rounds interview. Every round consisted of atleast 2 LPs followed by a coding question.
Round 1:
LPs:
Tell me about a time when you did an in-depth analysis.
Tell me about a time when you received negative feedback.
Coding: Given a matrix containing characters. Find all possible words. The question was ambiguous and the interviewer mentioned that there would be a dictionary containing all possible English words after me asking multiple questions.
Round 2:
LPs:
Tell me about a time when you couldn't commit to a deadline.
Tell me about a time when you realized that the approach you took isn't correct midway of developing.
Coding: Group Anagrams.
Given a website and the users logging in, return the oldest user who visited only once. Two functions: login(username) and getOldestVisitedUser(). login(username) is called everytime the user visits the website.
Eg: login(jeff), login(jessy), login(jessy), getOldestVisitedUser() -> returns jeff
Round 3:
LPs:
Tell me about a time when you helped your coworker.
Tell me about a time when you went beyond your responsibilities.
Tell me about a time when faced an obstacle and how did you overcome it.
Coding: Given an amount, return the possible denominations. Valid denominations: Bills = [20, 10, 5, 1], Coins = [0.25, 0.50, 0.1]
Eg: amount = 6.35, to return -> One 5 One 1 One 0.25 One 0.1
All the rounds focused on LPs and the approach taken to solve coding questions. For LPs, I used the STAR format and there were follow-up questions as well even for LPs.