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.2k Reviews

Filter interviews by

Amazon SDE-1 Position Interview Questions and Answers

Updated 21 May 2021

Amazon SDE-1 Position Interview Experiences

2 interviews found

SDE-1 Position Interview Questions & Answers

user image Amit Kumar

posted on 21 May 2021

Interview Questionnaire 

1 Question

  • Q1. Contiguous Subarray with sum = 0
  • Ans. 

    Find all contiguous subarrays in an array with sum equal to zero.

    • Use a hash table to store the sum of subarrays and their ending index.

    • Traverse the array and calculate the sum of subarrays.

    • If the sum is zero or already exists in the hash table, print the subarray.

    • Time complexity: O(n), Space complexity: O(n).

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - For round 1 most of the questions are around array and strings (Go through all Algo's of arrays)

Skills evaluated in this interview

Interview Preparation Tips

Round: 1st Round
Experience: Q1 – Clone a graph. ( Similar Question -> -----/)
Basically while cloning, when you create a new node in the cloned graph, have a hashmap which maps the old node to new node.
So in the hashmap key = old node, value = new node.Q2 – Given an array of numbers, for each number print the first number to it’s left which is greater than the current number. Example
Input -> 5,3,2,4,8,6
Output-> -1, 5,3,5,-1,8
Use stacks. Simple O(n) solution.

Round: 2nd Round
Experience: Q1 – Find the row number according to the excel nomenclature –> (the opposite of this,-----/) i.e given Z, Output -> 26
Given AX, Output -> 50 Q2 – Find the number of islands in a 2d Array -> -----/

Round: HR Interview
Experience: Q1 – Given a number in words, print the number. Example 1) Input - "One Hundred and Five", Output should be "105"
Example 2) Input - "One Thousand and two hundred", Output should be "1200"
Example 3) Input - "Twelve hundred", Output should be "1200"
Example 4) Input - "Five Lacs", Output should be "500000"
Example 5) Input - "Five Hundred Thousand", Output should be "500000" There were a lot of edge cases, and discussion with regards to this. ( I took a lot of time and the manager did not seem to pleased.  )Q2- In a sorted array, find two numbers who’s difference is k.Given -> 1,2, 3,4,7,8,9,11 and k=7
Ouput -> 1,8 or 2,9, or 4,11 (Print any one) ----- lot of questions as to Why Amazon, Why do you want to leave so early

Round: 4th Round(Bar Raiser)
Experience: Q1 – Given a sorted array find a number. (Simple Binary Search)
Now consider repetitions and find the left most occurrence. (Binary Search to first find number, then again Binary Search to find left most occurrence)
Similarly find the right most occurrence. (Binary Search to first find number, then again Binary Search to find right most occurrence)
Now using the above two functions, find the number of times the element is present.
Note – Cases like where number is NOT present,Q2- Assembly Line Scheduling. (Very Simple DP.)
-----
After three weeks, I got a generic email saying that I could not clear it. I had a really irresponsible recruiter who did not have the courtesy to give me a call and just convey some feedback. Eventually, I think I took too much time with the first question in the manager round.

College Name: NA

SDE-1 Position Interview Questions Asked at Other Companies

asked in Flipkart
Q1. Design covid -19 vaccintion booking system feature include: user ... read more
asked in Amazon
Q2. Contiguous Subarray with sum = 0
asked in Exotel
Q3. Add one to linked list

Tell us how to improve this page.

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
 • 753 Interviews
Tata Group Interview Questions
4.2
 • 357 Interviews
BigBasket Interview Questions
3.9
 • 345 Interviews
Myntra Interview Questions
4.0
 • 208 Interviews
Blinkit Interview Questions
3.7
 • 170 Interviews
Uber Interview Questions
4.2
 • 159 Interviews
AmbitionBox Interview Questions
5.0
 • 144 Interviews
JioMart Interview Questions
3.9
 • 92 Interviews
View all
Amazon SDE-1 Position Salary
based on 12 salaries
₹14.5 L/yr - ₹30 L/yr
27% more than the average SDE-1 Position Salary in India
View more details

Amazon SDE-1 Position Reviews and Ratings

based on 1 review

5.0/5

Rating in categories

5.0

Skill development

5.0

Work-Life balance

5.0

Salary & Benefits

5.0

Job Security

5.0

Company culture

5.0

Promotions/Appraisal

5.0

Work Satisfaction

Explore 1 Review and Rating
Customer Service Associate
4.1k salaries
unlock blur

₹0.6 L/yr - ₹6 L/yr

Transaction Risk Investigator
3.1k salaries
unlock blur

₹2.3 L/yr - ₹6.5 L/yr

Associate
2.8k salaries
unlock blur

₹0.8 L/yr - ₹6.7 L/yr

Senior Associate
2.4k salaries
unlock blur

₹2 L/yr - ₹10 L/yr

Software Development Engineer
2k salaries
unlock blur

₹19 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