Amazon | SDE-1 | Gurugram

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-02-21Added By Anonymous
Source: Link

Company: Amazon
Role: SDE-1
Interview Stage: Onsite
Location: Gurugram
Year: unknown

Original Post Content:

Education: B.Tech in Computer Science from IIT
Previous Role: Quantitative Analyst at HFT firm (8 months)

Online Assessment (OA):
The first stage consisted of:
Two coding problems (LeetCode Medium level):
Problem 1: Focused on sorting and using hash maps.
Problem 2: Based on the Rabin-Karp Algorithm.
Amazon Leadership Principles (LP) & Work Simulation:
A behavioral assessment where I had to respond to simulated emails and messages from teammates.
I received a call for the next round approximately one week after completing the OA.

Round 1: Technical + Leadership Principles (LP)
Problem Statement: Given a log file containing entries with timestamp, customer ID, and the page visited on Amazon’s website, determine the most frequently visited 3-page sequence by any customer.
Approach:
Sort the log file based on timestamp.
Use two hash maps:
One to store the sequence of pages visited by each customer.
Another to maintain the frequency of 3-page sequences.
Find the most frequent sequence.
Difficulty Level: Easy-Medium
This round also included Leadership Principles (LP) questions.

Round 2: Technical + Leadership Principles (LP)
I received a call for this round the next day.

Problem 1: A variation of the Rotten Oranges problem (Graph/BFS-based).
Problem 2: Given an array of weights representing items to be shipped from one port to another in the same order, and a constraint of maxDays, find the minimum ship capacity required.
Approach:
Use Binary Search to determine the minimum feasible capacity.
The lower bound is the maximum weight in the array.
The upper bound is the sum of all weights.

This round also included LP-based questions.

Round 3: Technical + Leadership Principles (LP)
This round focused extensively on my previous experiences, covering my college projects, internship, and current role. The discussion was a blend of technical inquiries and behavioral questions that explored the impact I made in these positions. Overall, this lasted approximately 40 minutes, after that I was asked to write code for bottom view of Binary Tree.

Final Outcome:
I received a call the next day and was informed that I was selected for the SDE-1 position at Amazon Gurugram.

Comments