Amazon System Development Engineer L4 | Bangalore | Rejected
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-06-27Added By Anonymous
Source: Link
Company: Amazon
Role: System Development Engineer L4
Interview Stage: Onsite
Location: Bangalore
Year: unknown
Original Post Content:
Initially had OA with 2 medium level qn. I remember it was in HackerRank (not so sure), don't remember the qns exactly. All test cases passed, followed by nearly 30-50 MCQs scenario based qns.
Interview Round 1:
- Introduce yourself
- OOPS concepts
- What's abstraction? Encapsulation?
- Medium level coding: Given an array of customer IDs sorted in ascending order who visited an Amazon store. Get the number of times a customer visited based on the input customer ID. e.g.: [1,1,2,2,3,4,4,4,4,5,6,7,7,7,7,7,7,8,8] input: 7 output: 6 Initially given a linear solution, asked to optimize. Optimized it to logN by using binary search. Binary search 3 times: 1st time to find the element, next call to find the 1st occurrence of the customer ID, and next call to get the last occurrence of the customer ID. Return last - first index as result.
- Asked in previous org: have you faced any issue where you had to analyze and find RCA? Explained it.
HR scheduled 2 interviews after the OA, done with one round.
Round 2:
This round focus was more on scripting and Linux.
- Introduction
- Most challenging task done in previous organization
- Asked whether you looked on something significant that's outside of your area of responsibility and asked to explain
- Have you faced any risk or commitment deadline and how it's handled
Linux/Scripting Problems:
- In a Linux VM, we have a list of log files. Search for: "Processed Record {name: anyname, type:shirt,....}". Find the number of occurrences of the above pattern in each file and print. Asked to tell the approach and later asked if I can give a solution using any Linux commands/scripting.
- In a Linux VM, there is a process that needs to be run always. There was an issue that the application was not running. How to debug?
- List of IDs present in a file. How do you identify distinct IDs from the file?
I got rejected in the 2nd round.
If there is any other good approach for the above, feel free to add it in the comment.