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 Sdet-I Interview Questions, Process, and Tips

Updated 30 May 2015

Amazon Sdet-I Interview Experiences

1 interview found

Sdet-I Interview Questions & Answers

user image Anonymous

posted on 25 May 2015

Interview Questionnaire 

16 Questions

  • Q1. Given an array and a number, check whether there are any 3 elements in the array which add up to the given number
  • Ans. 

    Check if any 3 elements in an array add up to a given number

    • Sort the array in ascending order

    • Use nested loops to iterate through all possible combinations of 3 elements

    • Check if the sum of the 3 elements equals the given number

    • Return true if a match is found, else false

  • Answered by AI
  • Q2. Given a number, find the nearest perfect square(modified binary search)
  • Ans. 

    Given a number, find the nearest perfect square using modified binary search.

    • Start with low=0 and high=num.

    • While low<=high, find mid=(low+high)/2.

    • If mid*mid==num, return mid.

    • If mid*mid

    • If mid*mid>num, update high=mid-1.

    • Return the closest perfect square to num.

  • Answered by AI
  • Q3. Write a method to check whether two binary trees are mirrors of each other -----/
  • Q4. Write a method to print the boundaries of a binary tree -----/
  • Q5. Fill an array with the next greater elements (using stack) -----/
  • Q6. Given a binary tree, count the number of occurrences where there are two nodes with the same horizontal distance. To make it clearer, if we assume each node in a cell of a matrix, then count the number of ...
  • Ans. 

    Count occurrences of two nodes with same horizontal distance in a binary tree

    • Traverse the tree using BFS or DFS and keep track of horizontal distance of each node

    • Store nodes with same horizontal distance in a hash table and increment count if collision occurs

    • Recursively traverse left and right subtrees with updated horizontal distance

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

  • Answered by AI
  • Q7. Given a linked list, write a program to check if it is a palindrome
  • Ans. 

    Program to check if a linked list is a palindrome

    • Traverse the linked list and push each element onto a stack

    • Traverse the linked list again and compare each element with the top of the stack

    • If all elements match, the linked list is a palindrome

  • Answered by AI
  • Q8. Write some test methods for stress testing of Furniture class
  • Ans. 

    Test methods for stress testing of Furniture class

    • Create a large number of Furniture objects and check for memory leaks

    • Simulate heavy usage by continuously calling methods and check for performance issues

    • Test the Furniture class with maximum allowed input values and check for any errors or crashes

  • Answered by AI
  • Q9. Some discussion on automation testing
  • Q10. Discussion about my current job role
  • Q11. Several behavioral and team fit questions
  • Q12. What are the things you will consider (both from Developer’s perspective and User perspective) while trying to develop an application for computer aided competitive examinations like CAT, GMAT etc
  • Ans. 

    Considerations for developing an application for computer aided competitive exams

    • User-friendly interface for easy navigation

    • Accurate and reliable question bank

    • Timed tests to simulate real exam conditions

    • Option to save and resume tests

    • Detailed performance analysis and feedback

    • Compatibility with different devices and operating systems

    • Regular updates and bug fixes

    • Developer should consider the security of the application t...

  • Answered by AI
  • Q13. Given a singly linked list, write a recursive method to reverse every 3 nodes in the list. I did not write a clean code for this. He moved on because of lack of time
  • Ans. 

    Reverse every 3 nodes in a singly linked list using recursion

    • Create a recursive function that takes in a node and a count

    • If count is less than 3, return the node

    • Reverse the first 3 nodes and call the function recursively with the 4th node and count 1

    • Connect the reversed nodes to the rest of the list

    • Return the new head of the reversed list

  • Answered by AI
  • Q14. Again discussion of my current job role and about the projects I have worked on
  • Q15. Tell me 3 things that you want to learn/change in yourself
  • Ans. 

    I want to learn/change 3 things about myself

    • Improve my communication skills

    • Develop better time management habits

    • Learn a new programming language

  • Answered by AI
  • Q16. Again several team fit questions

Interview Preparation Tips

Round: Technical Interview
Experience: 1. Given an array and a number, check whether there are any 3 elements in the array which add up to the given number.
  For example:
     Given an array {1,2,3,4,5} and the number 9, return true, as 2,3,4 add up to 9.
     Given an array {1,2,3,4,5} and the number 3, return false, as there are no 3 elements which add up to 3, in the array.
2. Given a number, find the nearest perfect square(modified binary search)
  For example:
     Given 50, return 49
     Given 25, return 25

Round: Technical Interview
Experience: System: The user gives a book id to be downloaded and the location in which the book is to be stored. The system downloads the book (if it exists) in the location given by the user and returns a url through which the user can access the book.
I was asked to design automated test cases for the system. The interviewer kept adding more and more constraints to the system and we discussed about the pros and cons of my approach.

College Name: NA

Skills evaluated in this interview

Interview questions from similar companies

Interview Questionnaire 

1 Question

  • Q1. Oops Programming

Sdet-I Interview Questions & Answers

Paytm user image Anonymous

posted on 2 Nov 2022

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 

There was one coding question followed by some testing questions. Testing questions were of easy level.

Round 3 - Technical 

(1 Question)

  • Q1. I was asked about bubble sort and some basic dsa question. The interview went for 20 min.
Round 4 - Technical 

(1 Question)

  • Q1. Again I was asked some basic dsa and sorting algorithm with my project discussion.

Interview Preparation Tips

Interview preparation tips for other job seekers - Just focus on dsa and there should be a project to show to interviewer.
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed before Apr 2023. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Basic array question
Round 2 - Technical 

(1 Question)

  • Q1. Find the first circular tour that visits all petrol pumps
  • Ans. 

    The first circular tour that visits all petrol pumps can be found using the concept of a circular linked list.

    • Create a circular linked list with each node representing a petrol pump

    • Calculate the difference between petrol available at each pump and the distance to the next pump

    • Start from a pump where the sum of differences is positive and traverse the circular linked list until completing the tour

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Level order tree traversal
  • Q2. Find the pair element from the array
  • Ans. 

    Find the pair element from the array

    • Iterate through the array and use a hashmap to store elements and their counts

    • Check if the current element's complement exists in the hashmap

    • Return the pair if found, otherwise return null

  • Answered by AI

Skills evaluated in this interview

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

I applied via Campus Placement and was interviewed before Jan 2024. There was 1 interview round.

Round 1 - Aptitude Test 

We had an aptitude test which involved 60 questions in 15 minutes. Of course, no one can solve this fast, but it was about the hit rate / accuracy and volume. Subsequent followed with two guesstimate based rounds and final as HR round which involved asking about college projects, extra curricular experiences and so on.

Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via LinkedIn and was interviewed before Apr 2022. There were 4 interview rounds.

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

(1 Question)

  • Q1. Where do you see yourself in 5 years
Round 3 - Technical 

(1 Question)

  • Q1. How you will improve health of a marketplace
  • Ans. 

    By analyzing data, identifying pain points, and implementing solutions to improve user experience and trust.

    • Analyze user behavior and feedback to identify areas of improvement

    • Implement measures to increase transparency and trust, such as user reviews and seller verification

    • Provide resources and support for dispute resolution

    • Encourage diversity and inclusivity in the marketplace to attract a wider range of buyers and se...

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

(1 Question)

  • Q1. How you will design new customer support system
  • Ans. 

    I will design a customer support system that is user-friendly, efficient, and personalized.

    • Conduct research to understand customer needs and preferences

    • Identify common customer issues and develop a knowledge base for quick resolution

    • Implement a ticketing system to track and prioritize customer inquiries

    • Integrate chatbots and AI to provide 24/7 support

    • Train support staff to provide personalized and empathetic service

    • Col...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - NA

Skills evaluated in this interview

Interview Questionnaire 

3 Questions

  • Q1. General HR questions, some based on the CV
  • Q2. A marketing specific question
  • Q3. Weight of an aircraft
  • Ans. 

    The weight of an aircraft is crucial for its performance and safety.

    • The weight of an aircraft includes the weight of the aircraft itself, fuel, passengers, cargo, and any other equipment on board.

    • The weight of an aircraft is measured in pounds or kilograms.

    • The weight of an aircraft affects its takeoff and landing performance, as well as its fuel efficiency and range.

    • Aircraft manufacturers provide maximum takeoff and la...

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: The test basically tests your ability to solve questions as quickly as possible as it's a 60 minute test for 60 questions. The level of difficulty is pretty decent, so one just needs to be focused right from the beginning. English can trouble a bit, so some practice in English sections is also advisable.
Tips: Prepare from Arun Sharma Quantitative Aptitude and Logical Reasoning for CAT. It's a wholesome book and has enough questions to practice and build concepts. Join a test series so that you get a timed analysis of your performance, the ability to skip tough questions and to score as many marks as possible.

Round: Group Discussion
Experience: It went pretty well. We had a great discussion. The approach was to list out all the problems one by one and think of probable solutions for each of them. During this, general group dynamics should be taken in consideration. Respect the views and thoughts of other people. Add value to the discussion by thinking critically and bringing new content every now and then. Always be specific and speak to the point.
Tips: Read. Read and Read.
Follow google news, read relevant articles in newspapers, magazines, social media sites or any other place.
Follow Quora, It'a an amazing source to boost your knowledge around any topic.

Round: HR Interview
Experience: Be spontaneous, little humorous and lastly very confident. Communication skills improve with time, so start as early as possible. Take part in discussions. Speak up !
Tips: Have a sound knowledge about the industry and the company. They just check your approach. So be very clear and critical on the approach. Have good reasons to back what ever you present. Rest will be fine.

Round: Guesstimate Interview
Experience: A very commonly asked guesstimate problem. Ask as many questions as possible to clear out the situation for yourself and get enough hints to solve the problem. Break it down into smaller sections and solve each section individually.
Tips: Follow "case in point", Analytics Vidya and similar blogs and websites to practice more and more guesstimates.

General Tips: There are so many opportunities. You just need one. Be focused on that ONE.
Skill Tips: Take part in discussions among your friends. Read books and quora to get more content. Practice as many questions as possible for aptitude. Discuss problems and have critical analysis sessions to understand things with a company's perspective.
Skills: Communication , Aptitude, Business Acumen
College Name: IIT GUWHATI
Motivation: To learn the operations and Logistics of the e-commerce industry.
Funny Moments: There will be many while you'll be preparing with your friends. :D
All the best.

Interview Questionnaire 

1 Question

  • Q1. What do u want us to do fr u??
  • Ans. 

    I want you to provide me with challenging software development projects that will help me grow as a developer.

    • Challenging projects that will push my skills to the limit

    • Opportunities to learn new technologies and programming languages

    • Collaborative work environment with experienced developers

    • Clear communication and feedback on my work

    • Opportunities for career growth and advancement

  • Answered by AI

Interview Preparation Tips

Round: Technical Interview
Experience: Pay me high!!
Tips: Never say something like that!!

Skill Tips: Develop codes
Skills: Programming
College Name: IIT BOMBAY

I was interviewed before Jan 2021.

Round 1 - Face to Face 

(3 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

This was a typical DS/Algo where I was asked to solve two questions related to Binary Trees and write the pseudo code for both of them followed by some theoretical questions related to Operating Systems.

  • Q1. 

    K-th Largest Number in a BST

    Given a binary search tree (BST) consisting of integers and containing 'N' nodes, your task is to find and return the K-th largest element in this BST.

    If there is no K-th la...

  • Ans. 

    Find the K-th largest element in a BST.

    • Perform reverse in-order traversal of the BST to find the K-th largest element.

    • Keep track of the count of visited nodes to determine the K-th largest element.

    • Return -1 if there is no K-th largest element in the BST.

  • Answered by AI
  • Q2. 

    Is Height Balanced Binary Tree Problem Statement

    Determine if the given binary tree is height-balanced. A tree is considered height-balanced when:

    1. The left subtree is balanced.
    2. The right subtree is bala...
  • Ans. 

    Determine if a given binary tree is height-balanced by checking if left and right subtrees are balanced and their height difference is at most 1.

    • Check if the left subtree is balanced

    • Check if the right subtree is balanced

    • Calculate the height difference between the left and right subtrees

    • Return 'True' if all conditions are met, otherwise return 'False'

  • Answered by AI
  • Q3. Can you explain the concepts of Zombie Process and Orphan Process in operating systems?
  • Ans. 

    Zombie process is a terminated process that has completed execution but still has an entry in the process table. Orphan process is a process whose parent process has terminated.

    • Zombie process is created when a child process completes execution but its parent process has not yet read its exit status.

    • Zombie processes consume system resources and should be cleaned up by the parent process using wait() system call.

    • Orphan p...

  • Answered by AI
Round 2 - Face to Face 

(3 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

This was also a Data Structures and Algorithm round where I was asked to solve 3 medium to hard level problems along with their pseudo code within 60 minutes .

  • Q1. 

    Longest Substring Without Repeating Characters Problem Statement

    Given a string S of length L, determine the length of the longest substring that contains no repeating characters.

    Example:

    Input:
    "abac...
  • Ans. 

    Find the length of the longest substring without repeating characters in a given string.

    • Use a sliding window approach to keep track of the longest substring without repeating characters.

    • Use a hashmap to store the index of each character in the string.

    • Update the start index of the window when a repeating character is found.

    • Calculate the maximum length of the window as you iterate through the string.

    • Return the maximum le

  • Answered by AI
  • Q2. 

    Problem: Search In Rotated Sorted Array

    Given a sorted array that has been rotated clockwise by an unknown amount, you need to answer Q queries. Each query is represented by an integer Q[i], and you must ...

  • Ans. 

    Search for integers in a rotated sorted array efficiently.

    • Use binary search to efficiently search for integers in the rotated sorted array.

    • Handle the rotation of the array while performing binary search.

    • Return the index of the integer if found, else return -1.

  • Answered by AI
  • Q3. 

    Count Subarrays with Sum Divisible by K

    Given an array ARR and an integer K, your task is to count all subarrays whose sum is divisible by the given integer K.

    Input:

    The first line of input contains an...
  • Ans. 

    Count subarrays with sum divisible by K in an array.

    • Iterate through the array and keep track of the prefix sum modulo K.

    • Use a hashmap to store the frequency of each prefix sum modulo K.

    • For each prefix sum, increment the count by the frequency of (prefix sum - K) modulo K.

    • Handle the case when prefix sum itself is divisible by K.

    • Return the total count of subarrays with sum divisible by K.

  • Answered by AI
Round 3 - Face to Face 

(2 Questions)

Round duration - 50 Minutes
Round difficulty - Medium

In this round , I was asked to code a simple question related to BST . After that I was asked the internal implementation of a Hash Map where I was supposed to design a Hash Map using any of the Hashing Algorithms that I know . This was preety challenging for me but I got to learn so much from it.

  • Q1. 

    Ceil Value from BST Problem Statement

    Given a Binary Search Tree (BST) and an integer, write a function to return the ceil value of a particular key in the BST.

    The ceil of an integer is defined as the s...

  • Ans. 

    Ceil value of a key in a Binary Search Tree (BST) is found by returning the smallest integer greater than or equal to the given number.

    • Traverse the BST to find the closest value greater than or equal to the key.

    • Compare the key with the current node value and update the ceil value accordingly.

    • Recursively move to the left or right subtree based on the comparison.

    • Return the ceil value once the traversal is complete.

  • Answered by AI
  • Q2. 

    Design a Constant Time Data Structure

    Create a data structure that maintains mappings between keys and values, supporting the following operations in constant time:

    1. INSERT(key, value): Add or update t...
  • Ans. 

    Design a constant time data structure to maintain mappings between keys and values with various operations.

    • Use a hash table to achieve constant time complexity for INSERT, DELETE, SEARCH, and GET operations.

    • Keep track of the number of key-value pairs for GET_SIZE operation.

    • Check if the hash table is empty for IS_EMPTY operation.

    • Return true or false for SEARCH operation based on key existence.

    • Return the value associated...

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAFlipkart interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 4 MonthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

Amazon Interview FAQs

What are the top questions asked in Amazon Sdet-I interview?

Some of the top questions asked at the Amazon Sdet-I interview -

  1. Given a binary tree, count the number of occurrences where there are two nodes ...read more
  2. Given an array and a number, check whether there are any 3 elements in the arra...read more
  3. What are the things you will consider (both from Developer’s perspective and ...read more

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
 • 747 Interviews
Tata Group Interview Questions
4.2
 • 357 Interviews
BigBasket Interview Questions
3.9
 • 355 Interviews
Myntra Interview Questions
4.0
 • 213 Interviews
Blinkit Interview Questions
3.7
 • 178 Interviews
AmbitionBox Interview Questions
4.9
 • 153 Interviews
Uber Interview Questions
4.2
 • 149 Interviews
JioMart Interview Questions
3.9
 • 94 Interviews
View all
Amazon Sdet-I Salary
based on 18 salaries
₹12 L/yr - ₹34.9 L/yr
45% more than the average Sdet-I Salary in India
View more details

Amazon Sdet-I Reviews and Ratings

based on 4 reviews

3.9/5

Rating in categories

3.8

Skill development

2.9

Work-life balance

4.2

Salary

2.6

Job security

2.9

Company culture

3.6

Promotions

2.9

Work satisfaction

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

₹0 L/yr - ₹0 L/yr

Transaction Risk Investigator
3.1k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Associate
2.9k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Associate
2.5k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Program Manager
2.1k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Amazon with

Flipkart

4.0
Compare

TCS

3.7
Compare

Google

4.4
Compare

Netflix

4.5
Compare
Did you find this page helpful?
Yes No
write
Share an Interview