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
4.1

based on 24.1k Reviews

Filter interviews by

Amazon Sde1 Interview Questions, Process, and Tips

Updated 31 Dec 2024

Top Amazon Sde1 Interview Questions and Answers

  • Q1. pid ={3,5,0,1} ppid ={5,4,2,2} process id(pid) ppid=parent process id let us say the process that we killed is 2 now we have to print 2,0,1 as 0,1 are child of 2 and supp ...read more
  • Q2. N queen problem with problem statement and dry running of code with 4 queens and then writing the code
  • Q3. Sub set problem(Check if there exists any sub array with given sum in the array ) . But the thing here is that we have to do it with space complexity of only O( 1 K ) . K ...read more
View all 38 questions

Amazon Sde1 Interview Experiences

33 interviews found

Sde1 Interview Questions & Answers

user image Anonymous

posted on 12 Aug 2017

I was interviewed in Aug 2017.

Interview Questionnaire 

16 Questions

  • Q1. -----/ But here the main thing is that handling of corner cases like when there are duplicate tickets and when there is no proper path possible with given tickets
  • Q2. N queen problem with problem statement and dry running of code with 4 queens and then writing the code
  • Ans. 

    N queen problem is to place N queens on an NxN chessboard without any two queens threatening each other.

    • The problem can be solved using backtracking algorithm

    • Start with placing a queen in the first row and move to the next row

    • If no safe position is found, backtrack to the previous row and try a different position

    • Repeat until all queens are placed or no safe position is found

    • Code can be written in any programming langua...

  • Answered by AI
  • Q3. Sub set problem(Check if there exists any sub array with given sum in the array ) . But the thing here is that we have to do it with space complexity of only O( 1 K ) . K is the sum given .
  • Ans. 

    Check if there exists any sub array with given sum in the array with O(1K) space complexity.

    • Use two pointers to traverse the array and maintain a current sum.

    • If the current sum is greater than the given sum, move the left pointer.

    • If the current sum is less than the given sum, move the right pointer.

    • If the current sum is equal to the given sum, return true.

  • Answered by AI
  • Q4. What is NP hardness .
  • Ans. 

    NP hardness refers to the difficulty of solving a problem in non-deterministic polynomial time.

    • NP-hard problems are some of the most difficult problems in computer science.

    • They cannot be solved in polynomial time by any known algorithm.

    • Examples include the traveling salesman problem and the knapsack problem.

  • Answered by AI
  • Q5. What is the difference between references and pointers
  • Ans. 

    References and pointers are both used to access memory locations, but references cannot be null and cannot be reassigned.

    • Pointers can be null and can be reassigned to point to different memory locations.

    • References are automatically dereferenced, while pointers need to be explicitly dereferenced.

    • Pointers can perform arithmetic operations, while references cannot.

    • Example: int x = 5; int *ptr = &x; int &ref = x;

    • Example: i

  • Answered by AI
  • Q6. What is difference between reference variable and actual reference
  • Ans. 

    A reference variable is a variable that holds the memory address of an object, while an actual reference is the object itself.

    • A reference variable is declared with a specific type and can only refer to objects of that type.

    • An actual reference is the object itself, which can be accessed and manipulated using the reference variable.

    • Changing the value of a reference variable does not affect the original object, but changi...

  • Answered by AI
  • Q7. In this round he asked me about previous round questions and their time complexities also . and with every DS and Algo related questions they asked the time complexities
  • Q8. Segmentation , virtual memory , paging
  • Q9. 0-1 Knapsack problem
  • Q10. What happens when we type an URL
  • Ans. 

    When we type an URL, the browser sends a request to the server hosting the website and retrieves the corresponding webpage.

    • The browser parses the URL to extract the protocol, domain, and path.

    • It resolves the domain name to an IP address using DNS.

    • The browser establishes a TCP connection with the server.

    • It sends an HTTP request to the server.

    • The server processes the request and sends back an HTTP response.

    • The browser re

  • Answered by AI
  • Q11. Implementation of LRU (WIth Production level code)
  • Ans. 

    Implementation of LRU cache using a doubly linked list and a hash map.

    • LRU (Least Recently Used) cache is a data structure that stores a fixed number of items and evicts the least recently used item when the cache is full.

    • To implement LRU cache, we can use a doubly linked list to maintain the order of items based on their usage frequency.

    • We can also use a hash map to store the key-value pairs for quick access and retrie...

  • Answered by AI
  • Q12. Given page access sequence and we have to tell final output using different page replacement algorithms like FIFO , LRU etc
  • Q13. What is indexing in DBMS How do we maintain it
  • Ans. 

    Indexing in DBMS is a technique to improve query performance by creating a data structure that allows faster data retrieval.

    • Indexing is used to speed up data retrieval operations in a database.

    • It involves creating a separate data structure that maps the values of a specific column to their corresponding records.

    • This data structure is called an index.

    • Indexes are typically created on columns that are frequently used in s...

  • Answered by AI
  • Q14. B trees , B+ trees with examples
  • Ans. 

    B trees and B+ trees are data structures used for efficient storage and retrieval of data in databases.

    • B trees are balanced trees with a variable number of child nodes per parent node. They are commonly used in databases to store large amounts of data.

    • B+ trees are a variant of B trees where all data is stored in the leaf nodes, and the internal nodes only contain keys. They are commonly used in databases for indexing.

    • B...

  • Answered by AI
  • Q15. AVL trees with examples and their balancing
  • Ans. 

    AVL trees are self-balancing binary search trees. They maintain a balance factor to ensure height balance.

    • AVL trees are named after their inventors, Adelson-Velsky and Landis.

    • They are height-balanced, meaning the difference in height between left and right subtrees is at most 1.

    • Insertion and deletion operations may cause imbalance, which is corrected by rotations.

    • AVL trees have a worst-case time complexity of O(log n) ...

  • Answered by AI
  • Q16. Pid ={3,5,0,1} ppid ={5,4,2,2} process id(pid) ppid=parent process id let us say the process that we killed is 2 now we have to print 2,0,1 as 0,1 are child of 2 and suppose that if we have children f...
  • Ans. 

    Given a list of process IDs and their corresponding parent process IDs, print the IDs of all processes that are children of a specific process ID, and recursively kill all their children.

    • Iterate through the list of process IDs and parent process IDs

    • Check if the current process ID is the one to be killed

    • If yes, recursively find and print all its children

    • If a child has further children, recursively kill them as well

  • Answered by AI

Interview Preparation Tips

Round: WRITTEN
Experience: It is a written round .

We are given with 2 coding questions of 10 marks each .There is no negative marking for coding questions

1)Given a string you have to partition the string in such a manner that each part of the partitioned string is a palindrome in itself and you have to count the number of such partition

For eg: given string NITIN
N ITI N
N I T I N
NITIN
So output will be 3.

2)You are given with a large paragraph and N words.
You have to find a min length subparagraph of the paragraph which contain all those N words in any order. Here length of a paragraph is the count of words in the paragraph.

There are 20 MCQ's all are technical questions only majorly from DSA
Tips: Coding it comes from practice . And for aptitude be good at fundamentals like time complexities etc .

Round: Technical Interview
Experience: Some times luck in interview is also important .I was unable to solve the second question initially ,but later with the help of my interviewer I was able to solve it .
Tips: Even if you are not able to solve the question initially don't be panic it will definitely go well

Round: Technical Interview
Experience: There are so many other questions . But sorry to say that I don't remember all of them ,if I remember them at some other time I will again update it here .

This round interviewer was very nice person And he is very helpful in fact .
Tips: Have solid basics at all data structures and algorithms ,Operating Systems


Round: Technical Interview
Experience: This round is entirely about other CS subjects like OS , DBMS,Networking .

Here asked me do you know other CS subjects like compiler design etc .
But as I am from Electronics I told them that I don't know all those subjects
Tips: Be good at other Cs subjects also

Round: Technical Interview
Experience: I solved above question Using DFS .I constructed a Graph using given information . and I did DFS starting from Given process .In the graph I took each process as 1 Node and the corresponding parent child relationship between the process as edges .
Tips: They will give sufficient time for thinking of the solution . So don't worry immediately after seeing the question . First think well you will definitely get it

Skills: Algorithms And DataStructures, Algorithm Analysis, Operating Systems, Basic Knowledge Of DBMS, Networking Basics, Object Oriented Programming (OOP) Basics
College Name: MNIT

Skills evaluated in this interview

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
  • 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:
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 

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

Amazon interview questions for designations

 Software Developer

 (177)

 Software Developer Intern

 (95)

 Software Engineer

 (79)

 Software Development Engineer

 (40)

 Device Associate

 (33)

 Software Development Engineer II

 (30)

 Data Engineer

 (22)

 Quality Service Associate

 (18)

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:
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 - 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

Get interview-ready with Top Amazon Interview Questions

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:
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 

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:
Double-check your resume for any spelling mistakes. The recruiter may consider spelling mistakes as careless behavior or poor communication skills.
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 at National Institute of Technology (NIT), Warangal 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

user image E-Learning Bridge

posted on 28 Nov 2021

Sde1 Interview Questions & Answers

user image Nik

posted on 21 Nov 2022

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 

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 at Vasavi College of Engineering, Hyderabad 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

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.
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. N queen problem with problem statement and dry running of code with 4 queens an...read more
  3. Sub set problem(Check if there exists any sub array with given sum in the array...read more

Tell us how to improve this page.

Amazon Sde1 Interview Process

based on 6 interviews in last 1 year

1 Interview rounds

  • Coding Test Round
View more

People are getting interviews through

based on 15 Amazon interviews
Campus Placement
Referral
Company Website
Job Portal
47%
27%
13%
13%
High Confidence
?
High Confidence means the data is based on a large number of responses received from the candidates.

Interview Questions from Similar Companies

Reliance Retail Interview Questions
3.9
 • 1.5k Interviews
Flipkart Interview Questions
4.0
 • 1.3k Interviews
Paytm Interview Questions
3.3
 • 743 Interviews
Tata Group Interview Questions
4.2
 • 357 Interviews
BigBasket Interview Questions
3.9
 • 344 Interviews
Myntra Interview Questions
4.0
 • 205 Interviews
Blinkit Interview Questions
3.8
 • 166 Interviews
Uber Interview Questions
4.2
 • 155 Interviews
AmbitionBox Interview Questions
5.0
 • 144 Interviews
JioMart Interview Questions
3.9
 • 92 Interviews
View all
Amazon Sde1 Salary
based on 1.1k salaries
₹12 L/yr - ₹48 L/yr
30% more than the average Sde1 Salary in India
View more details

Amazon Sde1 Reviews and Ratings

based on 100 reviews

4.0/5

Rating in categories

4.0

Skill development

3.3

Work-Life balance

4.4

Salary & Benefits

3.2

Job Security

3.6

Company culture

3.8

Promotions/Appraisal

3.7

Work Satisfaction

Explore 100 Reviews and Ratings
Customer Service Associate
4.2k salaries
unlock blur

₹0.6 L/yr - ₹5 L/yr

Transaction Risk Investigator
3.1k salaries
unlock blur

₹2.5 L/yr - ₹6.5 L/yr

Associate
2.8k salaries
unlock blur

₹0.8 L/yr - ₹7 L/yr

Senior Associate
2.4k salaries
unlock blur

₹2 L/yr - ₹10.1 L/yr

Software Development Engineer
2k salaries
unlock blur

₹16.6 L/yr - ₹33 L/yr

Explore more salaries
Compare Amazon with

Flipkart

4.0
Compare

TCS

3.7
Compare

Google

4.4
Compare

Netflix

4.5
Compare

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Did you find this page helpful?
Yes No
write
Share an Interview