Amazon Onsite Interview | SDE2 | Reject

amazon logo
amazon
SDE IIHyd, IndiaRejected
July 14, 202131 reads

Summary

I experienced an onsite interview loop for an SDE2 role at Amazon in Hyderabad, India, after qualifying through a CodeChef contest. The process included two system design rounds and one algorithms round, ultimately resulting in a rejection.

Full Experience

I recently went through the Amazon SDE2 onsite interview process in Hyd, India. My journey began by qualifying through a CodeChef contest sponsored by Amazon, where I solved 5 problems in the April Long and 2 in the Cook-off challenge, leading to my profile being shortlisted.

The loop interviews started with Round 1: Design. This round had 20 minutes of Leadership Principles (LP) questions related to my current job, followed by 40 minutes for a system design problem: designing a Unix File Search API. I felt this round didn't go particularly well, suggesting I needed more practice in design questions.

Round 2: Design also began with 25 minutes of LP questions. The main focus then shifted to design questions specifically related to my current project, with numerous follow-up inquiries. I learned the importance of backing up each design consideration with quantifiable data or measurements.

The final technical round was Round 3: Algorithms. Again, the first 20 minutes were dedicated to LP questions. For the coding problems, I first tackled the Sliding Window Maximum problem, which I eventually solved using a deque implementation, thoroughly handling all cases and performing a dry run. The second problem was Largest Rectangle in Histogram. I could only come up with a brute force approach and ran out of time before I could develop a more optimal solution using a stack.

Ultimately, I received a rejection email. I believe the outcome was primarily due to my performance in Round 1 and Round 3.

Interview Questions (3)

Q1
Design Unix File Search API
System Design

Design an Object-Oriented system for a Unix-like file search API. Consider aspects such as file system structure, search criteria (e.g., by name, type, size, content), performance implications, and scalability.

Q2
Sliding Window Maximum
Data Structures & Algorithms

You are given an array of integers nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k numbers in the window. Each time the sliding window moves right by one position. Return the max sliding window.

Q3
Largest Rectangle in Histogram
Data Structures & Algorithms

Given an array of integers heights representing the histogram's bar height where the width of each bar is 1, return the area of the largest rectangle in the histogram.

Preparation Tips

My initial qualification for the interview loop came from participating in the CodeChef Contest sponsored by Amazon, where I managed to solve 5 problems in the April Long and 2 in the Cook-off challenge.

Reflecting on the interviews, I now realize I should have dedicated more time to practicing system design questions.

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!