Amazon Interview Experience || 2025
Company: Amazon
Role: SDE I
Interview Stage: Phone Screen
Location: unknown
Year: 2025
Original Post Content:
Round: Online assessment.
The test was divided into three parts: first coding questions, then HR questions, and the third segment I don't remember.
There were two questions in OA, both were medium. One of them was done using a priority queue; even sorting would have worked. The other one was using a sliding window. There was a little complication in solving the second one, but nevertheless.
Time limit: 1hr+45minutes
I was done in about 20 minutes.
Round 1: Technical round
Two questions from DSA were asked:
1. Was related to trees, it was medium-hard. The prompt was so big it took me ages to understand, but after understanding, I asked a couple of questions about test cases, then went to code. Even during coding, I was asking about some of the possible test cases; luckily he didn't get annoyed but rather helped me out. Then my interviewer asked me to dry run on any e.g., and discussed time complexity. The question was related to something max subarray sum, with lots and lots of different instances.
e.g. https://leetcode.com/problems/maximum-sum-bst-in-binary-tree/description/
2. This one was done using string; it was actually an array question, medium.
I gave them brute force for the second, and my solution for the first one was rather optimal.
For the second question, due to time constraints, I could only explain my interviewer about the optimal but not code. For both, time complexity was O(N).