My Interview experience with Amazon for SDE 2 Role
Round 1: Problem Solving and LP's
Given an array of integers and a number x. FInd the minimum length of the subarray with a sum greater than the given value of x.
Input array: {1,4,45,6,0,19}, x = 51, Output = 3
Given an array of strings words(without duplicate), return all the concatenated words in the given list of words. A concatenated word is basically a string which comprise entirely of at least two shorter words (not necessarily distinct) in the given array.
Example 1:
Input: words={"cat","cats","catsdogcats", "dog", "dogcatsdog", "hippopotamases","rat","ratcatdogcat"}
Output: {"catsdogcats", "dogcatsdog", "ratcatdogcat"}
Explanation: "catsdogcats" can be concatenated by "cats", "dog" and "cats";
"dogcatsdog" can be concatenated by "dog", "cats" and "dog";
"ratcatdogcat" can be concatenated by "rat", "cat", "dog" and "cat";
No LP's was asked as the coding part took more time then expected.
Verdict: Strong Hire
Round 2: LLD and LP's
LP1: Tell me about a time when you went above and beyond to serve a customer. Why did you do it? How did it impact them?
LP2: Tell me about a time when you took an unpopular stance, and your team members or manager disagreed. How did you navigate the situation?
Design a loyality program system for Amazon Fresh shoppers, that rewards customers for their shopping behaviour, manages point allocation and handles tier based benefits through a points wallet.
Vairious tiers like: Silver, Gold, Platform tier. and a redemption system
Parameters of the exact question I don't remember.Verdict: Strong Hire
Round 3: HM Round
Design Inventory Management System, and same type of LP's as mentioned above.Verdict: Strong Hire
Round 4: Bar Raiser Round
LP took around most of the time key areas was Customer Obsession, Dive Deep, and OwnershipVerdict: On Problem Solving: Mild Concern
Overall: Hire Call
For LP's Please use this Discussion of LeetCode, it holds all the questions related to LP's: https://leetcode.com/discuss/interview-experience/6075975/Amazon-SDE2-50-posts-in-1-DSA%2BLP%2BLLDHLD
Few Set of questions to prepare for Amazon: https://leetcode.com/problem-list/954v5ops/
Not yet received the offer once received will share the compensation details as well.