Amazon interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Amazon
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
My journey began with building strong fundamentals in programming and core computer science concepts, followed by consistent practice in data structures, algorithms, and problem-solving. I actively worked on real-world projects to strengthen my understanding of backend, frontend, and system-level thinking. Alongside technical preparation, I focused on improving my communication skills and interview approach by analyzing mistakes from previous attempts and refining my strategy. Each rejection helped me identify gaps and improve further. Through discipline, structured learning, and continuous practice, I gradually became more confident in interviews. This journey taught me that consistency and learning from failure are more important than speed, and that growth comes from persistence.
Application story
I applied off-campus through the company’s hiring process after discovering the opportunity online. The application involved submitting my resume, followed by an online assessment. After clearing the initial steps, I progressed to the interview stage. The entire process helped me understand how structured hiring pipelines work and gave me clarity on what companies expect in terms of problem-solving, fundamentals, and project knowledge. Overall, the journey was a valuable learning experience and helped me improve my preparation approach.
Why selected/rejected for the role?
I was rejected because I could not perform consistently across all technical areas during the assessment and struggled with accuracy in problem-solving questions. However, this experience helped me clearly identify gaps in my preparation. Since then, I have been working on strengthening my fundamentals, improving my DSA practice, and building better projects to perform more confidently in future interviews.
Preparation
Duration: 6 Months
Topics: Data Structures, Algorithms, OOP, DBMS, Operating Systems, SQL, Computer Networks, JavaScript, React, Node.js
Tip
Tip

Tip 1: Practice DSA consistently and analyze every mistake.

Tip 2: Build at least two solid projects and understand them deeply.

Tip 3: Revise core concepts.

Application process
Where: Other
Eligibility: No criteria, (Salary Package - Not disclosed)
Resume Tip
Resume tip

Tip 1: Keep projects relevant and be prepared to explain every line of your code.

Tip 2: Highlight your problem-solving skills and core technical strengths clearly.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date2 Oct 2024
Coding problem2

The test was conducted online and scheduled during the daytime. The environment was calm since it was taken from home. The platform was smooth, with no major technical issues. The round consisted of MCQs followed by coding problems. There was no interaction with an interviewer in this round, as it was purely an online assessment.

1. 2 Sum

Moderate
0/80
Asked in companies
AmazonWells FargoHCL Technologies

Given an integer array Arr of size N and an integer target, your task is to find the indices of two elements of the array such that their sum is equal to target. Return <-1,-1> if no such pair exists.

Note:

If more than one such pair of indices exist, return the lexicographically smallest pair
You may not use the same element twice.
Problem approach

nput: nums = [2, 7, 11, 15], target = 9
Output: [0, 1]
Explanation: nums[0] + nums[1] = 2 + 7 = 9

Try solving now

2. Maximum Subarray Sum

Moderate
0/80
Asked in companies
IntuitAmazonOracle

You are given an array/list ARR consisting of N integers. Your task is to find the maximum possible sum of a non-empty subarray(contiguous) of this array.

Note: An array C is a subarray of array D if it can be obtained by deletion of several elements(possibly zero) from the beginning and the end of array D.

For e.g.- All the non-empty subarrays of array [1,2,3] are [1], [2], [3], [1,2], [2,3], [1,2,3].

Problem approach

Input: nums = [-2,1,-3,4,-1,2,1,-5,4]
Output: 6
Explanation: The subarray [4, -1, 2, 1] has the largest sum = 6.
Step 1: I first thought of a brute-force solution by checking all possible subarrays using two nested loops, which would take O(n²) time.

Step 2: I realized this approach would be inefficient for large inputs and needed optimization.

Step 3: Then I recalled Kadane’s Algorithm, where we use Dynamic Programming to maintain the maximum sum ending at each index.

Step 4: I maintained two variables: currentSum and maxSum. For each element, I decided whether to start a new subarray or extend the existing one.

Step 5: This reduced the time complexity to O(n) and the solution was accepted.

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date18 Oct 2024
Coding problem1

The interview was conducted during the daytime, and the environment was calm and professional. The interviewer was supportive and allowed me time to think through my answers. The round focused mainly on core computer science fundamentals, such as Operating Systems and DBMS concepts. The interviewer asked follow-up questions based on my responses to test the depth of my understanding. Overall, it felt more like a discussion than a stressful interrogation, which helped me stay comfortable.

1. Operating System

  • What are Semaphores? Explain the types of semaphores and their use in process synchronization.
  • What is Virtual Memory? Explain how paging works and why virtual memory is important.
Problem approach

Tip 1: Read Operating System concepts thoroughly from standard books like Galvin (Operating System Concepts) and revise definitions regularly.

Tip 2: Focus on understanding core concepts like synchronization, deadlock, paging, and memory management instead of rote learning.

Tip 3: Practice explaining concepts with real-world examples (e.g., semaphore using producer-consumer problem, virtual memory using RAM vs disk analogy).

03
Round
Hard
Video Call
Duration60 minutes
Interview date9 Nov 2024
Coding problem1

The interview was conducted during the daytime over a video call. The environment was professional and calm. The interviewer was experienced and focused on assessing my system design thinking, understanding of scalability, and decision-making approach. The discussion was interactive, and I was encouraged to think aloud while designing solutions. The round mainly evaluated architecture-level thinking rather than coding. After this round, I was informed that I was not selected, but the experience gave me clear insights on how to improve my system design preparation.

1. System Design

Design a Scalable URL Shortener System (like Bitly)

You are required to design a system that:

  • Takes a long URL and generates a short URL
  • Redirects short URLs to the original URL
  • Supports a large number of users
  • Is scalable and reliable
Problem approach

Step 1: I started by clarifying the requirements, both functional and non-functional, such as scalability, availability, and low latency.

Step 2: I identified core components, including the API layer, database, and encoding strategy.

Step 3: I proposed using a key-value database to store the mapping between short URLs and long URLs.

Step 4: I discussed how to generate unique short keys using Base62 encoding.

Step 5: The interviewer asked scalability-related follow-ups, such as handling millions of requests and database bottlenecks, which helped me understand areas where I needed deeper preparation.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What's the main risk of a "Chat with Your Codebase" public API tool?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Amazon
3114 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
2344 views
1 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Amazon
1604 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
9106 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58363 views
5 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Samsung
12673 views
2 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Microsoft
6007 views
5 comments
0 upvotes