Online Assessment (OA)
Questions:
- 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.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 1: Technical + Leadership Principles (LP)
Questions:
- 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.
Candidate's 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.
Interviewer's Feedback
No feedback provided.
Round 2: Technical + Leadership Principles (LP)
Questions:
- 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.
Candidate's 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.
Interviewer's Feedback
No feedback provided.
Round 3: Technical + Leadership Principles (LP)
Questions:
- 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.
- After that, I was asked to write code for the bottom view of a Binary Tree.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Final Outcome
I received a call the next day and was informed that I was selected for the SDE-1 position at Amazon Gurugram.