Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Amazon Team. If you also belong to the team, you can get access from here

Amazon Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Amazon Sde1 Interview Questions and Answers

Updated 31 Dec 2024

40 Interview questions

A Sde1 was asked 8mo ago
Q. What is a linked list?
Ans. 

A linked list is a linear data structure where elements are stored in nodes with each node pointing to the next node in the sequence.

  • Consists of nodes connected by pointers

  • Does not have a fixed size like arrays

  • Can easily insert or delete elements without shifting other elements

  • Examples: Singly linked list, Doubly linked list, Circular linked list

A Sde1 was asked 8mo ago
Q. How do you use sets in JavaScript?
Ans. 

Sets in JavaScript are used to store unique values of any type.

  • Create a new set using the Set constructor

  • Add values to the set using the add() method

  • Check if a value exists in the set using the has() method

  • Remove a value from the set using the delete() method

  • Iterate over the set using the forEach() method

Sde1 Interview Questions Asked at Other Companies

Q1. DSA and Language Questions: 1. Difference between Arrays and Arra ... read more
asked in Park Plus
Q2. 1. What is a doubly-linked list? And real-world applications.
asked in Amazon
Q3. Given process IDs (pid) and parent process IDs (ppid), and a proc ... read more
Q4. Given a point and a circle, how would you determine if the point ... read more
asked in Amazon
Q5. Given an array, determine if there exists a subarray with a given ... read more
A Sde1 was asked 11mo ago
Q. Implement a Heap data structure in C++.
Ans. 

Implementing Heap data structure in C++

  • Use an array to represent the binary tree structure of the heap

  • Implement functions for inserting elements, deleting elements, and heapifying the array

  • Ensure that the heap property is maintained (parent node is always greater than or equal to its children)

A Sde1 was asked 11mo ago
Q. Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. Do this without using extra space.
Ans. 

Find missing number in array without extra space

  • Iterate through the array and XOR all the elements with their indices and the actual numbers

  • The missing number will be the XOR result

  • Example: ['1', '2', '4', '5'] -> XOR(0, 1) ^ XOR(1, 2) ^ XOR(2, 4) ^ XOR(3, 5) = 3

What people are saying about Amazon

View All
an influencer marketing manager
1w
Should she delete her LinkedIn post or not?
Asking for a friend, Since last 3 months, she has been facing multiple issues including mental harassment by her manager at her workplace. She tried all official channels including reporting to the HR and even to the CEO eventually, but surprisingly, nothing happened. Infact, as a retaliation, she was put on PIP last month by here manager. So finally as a response to this continuous harassment, she went to LinkedIn and called out her manager, the company and even the CEO. And this is what she has received in response! The company is threatening her of legal actions and now we are confused, whether to delete the posts or to maintain our stand. Any help would be highly recommended at this point!
FeedCard Image
Got a question about Amazon?
Ask anonymously on communities.
A Sde1 was asked 11mo ago
Q. Design and implement a data structure for a Least Recently Used (LRU) cache. It should support the following operations: get(key) - Get the value (will always be positive) of the key if the key exists in th...
Ans. 

LRU Cache is a data structure that stores a fixed number of items and removes the least recently used item when the cache is full.

  • Use a combination of a doubly linked list and a hashmap to efficiently implement LRU Cache.

  • Keep track of the least recently used item at the tail of the linked list.

  • When an item is accessed, move it to the head of the linked list to mark it as the most recently used item.

  • When adding a n...

A Sde1 was asked 11mo ago
Q. Given arrival and departure times of all trains that reach a railway station, the task is to find the minimum number of platforms required for the railway station so that no train waits. We are given two ar...
Ans. 

Calculate the minimum number of platforms required at a railway station for given arrival and departure times.

  • Sort arrival and departure times.

  • Use two pointers to track platforms needed at any time.

  • Increment platform count on arrival and decrement on departure.

  • Example: For arrivals [10:00, 10:15] and departures [10:30, 10:45], 2 platforms are needed.

A Sde1 was asked
Q. Describe an algorithm to find the path sum between two nodes in a tree.
Ans. 

Calculate the sum of all paths between two nodes in a binary tree.

  • Traverse the tree and keep track of the path and its sum from the root to the current node.

  • When the target nodes are found, calculate the sum of all paths between them by adding the path sums of their common ancestor.

  • Recursively traverse the left and right subtrees to find the target nodes.

  • Use a hash table to store the path sums of each node for eff...

Are these interview questions helpful?
A Sde1 was asked
Q. How do you find the final element in a rotated array?
Ans. 

Find the final element in a rotated array.

  • Identify the pivot point where the array was rotated.

  • Determine if the target element is in the first or second half of the array.

  • Use binary search to find the target element.

A Sde1 was asked
Q. Given a singly linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…
Ans. 

Reorder a linked list in place.

  • Use two pointers to find the middle of the list

  • Reverse the second half of the list

  • Merge the two halves of the list

A Sde1 was asked
Q. Given two singly linked lists that intersect, find the node at which the intersection occurs.
Ans. 

Finding the intersection point of two linked lists.

  • Traverse both lists and find their lengths

  • Move the head of the longer list by the difference in lengths

  • Traverse both lists simultaneously until they meet at the intersection point

Amazon Sde1 Interview Experiences

30 interviews found

Sde1 Interview Questions & Answers

user image Anonymous

posted on 1 Jul 2024

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

1. Question on Graph LC-Hard 2. Question on BFS LC-Medium

Round 2 - One-on-one 

(2 Questions)

  • Q1. 1. Minimum platforms GFG
  • Ans. 

    Calculate the minimum number of platforms required at a railway station for given arrival and departure times.

    • Sort arrival and departure times.

    • Use two pointers to track platforms needed at any time.

    • Increment platform count on arrival and decrement on departure.

    • Example: For arrivals [10:00, 10:15] and departures [10:30, 10:45], 2 platforms are needed.

  • Answered by AI
  • Q2. Find missing number in array without extra space
  • Ans. 

    Find missing number in array without extra space

    • Iterate through the array and XOR all the elements with their indices and the actual numbers

    • The missing number will be the XOR result

    • Example: ['1', '2', '4', '5'] -> XOR(0, 1) ^ XOR(1, 2) ^ XOR(2, 4) ^ XOR(3, 5) = 3

  • Answered by AI
Round 3 - One-on-one 

(2 Questions)

  • Q1. Question on Heap
  • Q2. Implement Heap in C++
  • Ans. 

    Implementing Heap data structure in C++

    • Use an array to represent the binary tree structure of the heap

    • Implement functions for inserting elements, deleting elements, and heapifying the array

    • Ensure that the heap property is maintained (parent node is always greater than or equal to its children)

  • Answered by AI
Round 4 - One-on-one 

(2 Questions)

  • Q1. Implement LRU Cache
  • Ans. 

    LRU Cache is a data structure that stores a fixed number of items and removes the least recently used item when the cache is full.

    • Use a combination of a doubly linked list and a hashmap to efficiently implement LRU Cache.

    • Keep track of the least recently used item at the tail of the linked list.

    • When an item is accessed, move it to the head of the linked list to mark it as the most recently used item.

    • When adding a new it...

  • Answered by AI
  • Q2. Discussion on CV and previous projects
Round 5 - One-on-one 

(1 Question)

  • Q1. Easy LLD question

Skills evaluated in this interview

Sde1 Interview Questions & Answers

user image Harshita Manwani

posted on 17 Oct 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. What is linked list?
  • Ans. 

    A linked list is a linear data structure where elements are stored in nodes with each node pointing to the next node in the sequence.

    • Consists of nodes connected by pointers

    • Does not have a fixed size like arrays

    • Can easily insert or delete elements without shifting other elements

    • Examples: Singly linked list, Doubly linked list, Circular linked list

  • Answered by AI
  • Q2. How to use set in javascript
  • Ans. 

    Sets in JavaScript are used to store unique values of any type.

    • Create a new set using the Set constructor

    • Add values to the set using the add() method

    • Check if a value exists in the set using the has() method

    • Remove a value from the set using the delete() method

    • Iterate over the set using the forEach() method

  • Answered by AI

Skills evaluated in this interview

Sde1 Interview Questions & Answers

user image Anonymous

posted on 3 Jul 2023

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Referral and was interviewed in Jun 2023. There were 5 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Coding Test 

2 questions of leetcode medium level
And also has to write the steps of the approaches

Round 3 - Technical 

(1 Question)

  • Q1. Leet code medium of array and dp
  • Ans. 

    Dynamic programming problem involving arrays of strings.

    • Use dynamic programming to efficiently solve problems by breaking them down into smaller subproblems.

    • Consider using a 2D array to store intermediate results for optimal substructure.

    • Examples: Longest Common Subsequence, Word Break, Minimum Path Sum.

  • Answered by AI
Round 4 - Technical 

(1 Question)

  • Q1. Leetcode medium of DP and behavioural questions
Round 5 - Technical 

(1 Question)

  • Q1. Leetcode medium questions and behavioural questions

Interview Preparation Tips

Topics to prepare for Amazon Sde1 interview:
  • Dp
  • Array
  • Recursion
  • Behavioural questions
Interview preparation tips for other job seekers - I was applied for SDE1. The maximum focus was on coding. Its not tough to crack. Just explain the approaches from brute to more optimise properly

Skills evaluated in this interview

Sde1 Interview Questions & Answers

user image Anonymous

posted on 28 May 2023

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Assignment 

3 Coding question on hackerrank (graph leet code medium)

Round 3 - Technical 

(5 Questions)

  • Q1. Asked two medium question 1. find element in a rotated sorted array 2. and basics of CS
  • Q2. Final element in rotated array
  • Ans. 

    Find the final element in a rotated array.

    • Identify the pivot point where the array was rotated.

    • Determine if the target element is in the first or second half of the array.

    • Use binary search to find the target element.

  • Answered by AI
  • Q3. Reorder Linked list
  • Ans. 

    Reorder a linked list in place.

    • Use two pointers to find the middle of the list

    • Reverse the second half of the list

    • Merge the two halves of the list

  • Answered by AI
  • Q4. Intrsection point in linked list
  • Ans. 

    Finding the intersection point of two linked lists.

    • Traverse both lists and find their lengths

    • Move the head of the longer list by the difference in lengths

    • Traverse both lists simultaneously until they meet at the intersection point

  • Answered by AI
  • Q5. Path sum between two tree node
  • Ans. 

    Calculate the sum of all paths between two nodes in a binary tree.

    • Traverse the tree and keep track of the path and its sum from the root to the current node.

    • When the target nodes are found, calculate the sum of all paths between them by adding the path sums of their common ancestor.

    • Recursively traverse the left and right subtrees to find the target nodes.

    • Use a hash table to store the path sums of each node for efficien...

  • Answered by AI

Skills evaluated in this interview

Sde1 Interview Questions & Answers

user image Anonymous

posted on 30 Mar 2023

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

45 minutes
2 medium level questions

Round 3 - One-on-one 

(2 Questions)

  • Q1. Rotten oranges srgiluskbfakbv agr vua bgG I;E OWE FKEJBiluwefbLEFskdbfhadbfil brsebkfb ;so gao;ig o b galkgrbalgb
  • Q2. 8 queen an lfabi abbglkabahblba bilub lilba l vvblab WLEKFJB AEFBIWEF KJDBAKDBVLYA Ffawejawl iubaw ;h'FO IF ;IFBA Jfkfblif ai;ur h

Interview Preparation Tips

Interview preparation tips for other job seekers - ab ia bfie;oweinfgakrjbgliE BIUWB GIEWB AD SBKB ABB bdlvkdbiagiia bladblakdjblakbl bh ldf bvlbgli

Sde1 Interview Questions & Answers

user image Anonymous

posted on 17 Mar 2023

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
Not Selected
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Do not use an unprofessional email address such as cool_boy@email.com. It shows a lack of professionalism by the candidate.
View all tips
Round 2 - Coding Test 

Binary Search Tree Traversal, 20 min, Leetcode

Round 3 - Technical 

(3 Questions)

  • Q1. What is caching? explain in detail.
  • Ans. 

    Caching is the process of storing frequently accessed data in a temporary storage to improve performance.

    • Caching improves performance by reducing the need to fetch data from the original source.

    • It involves storing data in a temporary storage, such as memory or disk, closer to the user or application.

    • Caching can be done at various levels, including browser caching, server-side caching, and database caching.

    • Examples of c...

  • Answered by AI
  • Q2. What are POST requests?
  • Ans. 

    POST requests are a type of HTTP request method used to submit data to a server.

    • POST requests are used to create or update resources on a server.

    • They are commonly used in web forms to submit user input data.

    • POST requests have a request body that contains the data being submitted.

    • They are different from GET requests, which are used to retrieve data from a server.

    • POST requests are more secure than GET requests because th...

  • Answered by AI
  • Q3. Did explain about that.

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well before applying. It will always help.

Skills evaluated in this interview

Sde1 Interview Questions & Answers

user image Anonymous

posted on 31 Dec 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed before Dec 2023. There were 3 interview rounds.

Round 1 - Coding Test 

Coding test on Amazon own website

Round 2 - One-on-one 

(2 Questions)

  • Q1. Depends on interviewer
  • Q2. Depends on interviewer
Round 3 - One-on-one 

(2 Questions)

  • Q1. Depends on interviewer
  • Q2. Depends on interviewer

Sde1 Interview Questions & Answers

user image Nik

posted on 21 Nov 2022

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Properly align and format text in your resume. A recruiter will have to spend more time reading poorly aligned text, leading to high chances of rejection.
View all tips
Round 2 - Coding Test 

Assessment of 2 coding questions in 70 minutes + behaviour questions

Round 3 - Technical 

(1 Question)

  • Q1. Data structures questions 1st was LRU cache in different format 2nd was next greater element in a array
Round 4 - Technical 

(1 Question)

  • Q1. Data structures questions
Round 5 - Technical 

(1 Question)

  • Q1. Bar raiser round asked data structures and behavioral questions

Interview Preparation Tips

Interview preparation tips for other job seekers - for sde1 focus more on data structures and behavioral questions

Sde1 Interview Questions & Answers

user image Anonymous

posted on 12 Jul 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed before Jul 2023. There were 3 interview rounds.

Round 1 - Coding Test 

Basic leetcode and hard one question

Round 2 - Technical 

(2 Questions)

  • Q1. Multiply one matrix with another
  • Ans. 

    Matrix multiplication involves multiplying the elements of one matrix with another matrix.

    • Create two matrices with compatible dimensions

    • Multiply corresponding elements of each row in the first matrix with each column in the second matrix

    • Sum the products to get the resulting matrix

  • Answered by AI
  • Q2. Dyanmic programming standard question
Round 3 - Technical 

(2 Questions)

  • Q1. Basic linkedin question
  • Q2. Hard arrays dp question

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well from leetcode. Thats it

Sde1 Interview Questions & Answers

user image Subhash Liler

posted on 14 Nov 2022

I applied via Campus Placement and was interviewed in Oct 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Coding Test 

Machine learning, SQL, data structure

Round 3 - Group Discussion 

Privious problem with logical understanding , always participate in discussion with valid and clear points.

Round 4 - HR 

(3 Questions)

  • Q1. Explain one machine learning algorithm.
  • Ans. 

    Random Forest is a machine learning algorithm that builds multiple decision trees and combines their outputs.

    • Random Forest is an ensemble learning method.

    • It builds multiple decision trees and combines their outputs to make a final prediction.

    • It is used for both classification and regression tasks.

    • It is less prone to overfitting compared to a single decision tree.

    • It can handle missing values and outliers.

    • Example: predic...

  • Answered by AI
  • Q2. Algorithm for string attachment
  • Ans. 

    String attachment algorithm joins two strings together.

    • Create a new string variable to hold the result

    • Loop through the first string and add each character to the new string

    • Loop through the second string and add each character to the new string

    • Return the new string

  • Answered by AI
  • Q3. You strength and weakness

Interview Preparation Tips

Topics to prepare for Amazon Sde1 interview:
  • Machine Learning
  • Data Structures
Interview preparation tips for other job seekers - Always confident, don't choose what you not know. Always learn some key machine learning algorithma and data structure. Recently Python language are more cooperative and easy to learn so yes if you are beginner so start to leaning python.

Skills evaluated in this interview

Amazon Interview FAQs

How many rounds are there in Amazon Sde1 interview?
Amazon interview process usually has 2-3 rounds. The most common rounds in the Amazon interview process are Coding Test, Technical and Resume Shortlist.
How to prepare for Amazon Sde1 interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Amazon. The most common topics and skills that interviewers at Amazon expect are Clinical SAS Programming, Prototype, Manual Testing, Team Building and Basic.
What are the top questions asked in Amazon Sde1 interview?

Some of the top questions asked at the Amazon Sde1 interview -

  1. pid ={3,5,0,1} ppid ={5,4,2,2} process id(pid) ppid=parent process id let u...read more
  2. Sub set problem(Check if there exists any sub array with given sum in the array...read more
  3. N queen problem with problem statement and dry running of code with 4 queens an...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4.1/5

based on 14 interview experiences

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 57%
2-4 weeks 29%
4-6 weeks 14%
View more

Interview Questions from Similar Companies

Uber Interview Questions
4.2
 • 155 Interviews
Expedia Group Interview Questions
3.7
 • 78 Interviews
LinkedIn Interview Questions
4.3
 • 69 Interviews
OLX Interview Questions
3.8
 • 60 Interviews
Facebook Interview Questions
4.3
 • 53 Interviews
Uplers Interview Questions
3.9
 • 43 Interviews
Groupon Interview Questions
3.1
 • 42 Interviews
Fareportal Interview Questions
3.3
 • 32 Interviews
Yahoo Interview Questions
4.6
 • 30 Interviews
Airbnb Interview Questions
3.7
 • 25 Interviews
View all
Amazon Sde1 Salary
based on 1.9k salaries
₹12 L/yr - ₹48 L/yr
18% more than the average Sde1 Salary in India
View more details

Amazon Sde1 Reviews and Ratings

based on 101 reviews

4.0/5

Rating in categories

4.1

Skill development

3.3

Work-life balance

4.4

Salary

3.2

Job security

3.6

Company culture

3.8

Promotions

3.7

Work satisfaction

Explore 101 Reviews and Ratings
Customer Service Associate
4.1k salaries
unlock blur

₹0.6 L/yr - ₹8 L/yr

Transaction Risk Investigator
3.1k salaries
unlock blur

₹2 L/yr - ₹6.5 L/yr

Associate
3.1k salaries
unlock blur

₹0.8 L/yr - ₹7 L/yr

Senior Associate
2.6k salaries
unlock blur

₹1.8 L/yr - ₹9 L/yr

Software Developer
2.2k salaries
unlock blur

₹27.1 L/yr - ₹56.3 L/yr

Explore more salaries
Compare Amazon with

Flipkart

3.9
Compare

TCS

3.6
Compare

Google

4.4
Compare

Netflix

4.3
Compare
write
Share an Interview