Software Development Engineer In Test Interview Questions

5,158 software development engineer in test interview questions shared by candidates

## 1. Count Valid Endpoint Combinations You are given - `S`: total number of servers - `C`: total number of clients - You need to **select exactly `K` endpoints** such that - At least `minS` of them are servers - At least 10 of them are clients. You are to compute how many valid combinations of endpoints you can select from the given servers and clients that satisfy all constraints. ### ✅Constraints: - `0 ≤ min S ≤ S ≤ 1000` - `0 ≤ min C ≤ C ≤ 1000` - `0 ≤ K ≤ S + C` - Use combinatorics to calculate combinations efficiently. - **Return the result modulo `10^9 + 7`**, as it can be very large. Input: S = 3, C = 1, minS = 1, minC = 0, K = 2 Output: 6 Input: S = 2, C = 3, minS = 1, minC = 1, K = 2 Output: 6 Input: S = 1, C = 3, minS = 2, minC = 1, K = 3 Output: 0 # 2. **Grey Level of Satellite Imagery** You are given a 2D grid of binary strings where each character is either `'0'` or `'1'`. This grid represents a black-and-white satellite image. Your task is to compute the **grey level value** of each cell based on the following rule: For each cell `(i, j)`in the grid: - Count the number of `'1'`s in **row `i`** and **column `j`.** - Count the number of `'0'`s in **row `i`** and **column `j`.** - The transformed value at `(i, j)` is ```markdown grey_level[i][j] = (ones_in_row[i] + ones_in_col[j]) - (zeros_in_row[i] + zeros_in_col[j]) ``` Return the **maximum value** among all the computed grey levels. Also, for debugging purposes, output the transformed grid.
avatar

Software Development Engineer In Test (SDET)

Interviewed at D. E. Shaw India

4.2
Aug 13, 2025

## 1. Count Valid Endpoint Combinations You are given - `S`: total number of servers - `C`: total number of clients - You need to **select exactly `K` endpoints** such that - At least `minS` of them are servers - At least 10 of them are clients. You are to compute how many valid combinations of endpoints you can select from the given servers and clients that satisfy all constraints. ### ✅Constraints: - `0 ≤ min S ≤ S ≤ 1000` - `0 ≤ min C ≤ C ≤ 1000` - `0 ≤ K ≤ S + C` - Use combinatorics to calculate combinations efficiently. - **Return the result modulo `10^9 + 7`**, as it can be very large. Input: S = 3, C = 1, minS = 1, minC = 0, K = 2 Output: 6 Input: S = 2, C = 3, minS = 1, minC = 1, K = 2 Output: 6 Input: S = 1, C = 3, minS = 2, minC = 1, K = 3 Output: 0 # 2. **Grey Level of Satellite Imagery** You are given a 2D grid of binary strings where each character is either `'0'` or `'1'`. This grid represents a black-and-white satellite image. Your task is to compute the **grey level value** of each cell based on the following rule: For each cell `(i, j)`in the grid: - Count the number of `'1'`s in **row `i`** and **column `j`.** - Count the number of `'0'`s in **row `i`** and **column `j`.** - The transformed value at `(i, j)` is ```markdown grey_level[i][j] = (ones_in_row[i] + ones_in_col[j]) - (zeros_in_row[i] + zeros_in_col[j]) ``` Return the **maximum value** among all the computed grey levels. Also, for debugging purposes, output the transformed grid.

1. Coding and DSA: Write a function to reverse a linked list. Find the first non-repeating character in a string. Merge two sorted arrays without using extra space. Detect a cycle in a linked list. 2. Testing Scenarios and Automation: How would you design a test automation framework for a web application? Write a script to scrape data from a web page. Explain the test cases for an online payment gateway. How would you test the search functionality on Amazon’s website?
Nov 6, 2024

1. Coding and DSA: Write a function to reverse a linked list. Find the first non-repeating character in a string. Merge two sorted arrays without using extra space. Detect a cycle in a linked list. 2. Testing Scenarios and Automation: How would you design a test automation framework for a web application? Write a script to scrape data from a web page. Explain the test cases for an online payment gateway. How would you test the search functionality on Amazon’s website?

It's impossible to know the one thing that a specific interviewer at Amazon might ask you, as questions vary greatly depending on the role, the interviewer, and the stage of the interview process. However, if you're trying to anticipate a very important aspect of the Amazon interview, it would be the behavioral questions tied to their Leadership Principles. While there isn't a single question they always ask, you can almost guarantee you will be asked multiple "Tell me about a time when..." questions that are designed to assess how you've demonstrated their core values in past situations. Therefore, instead of focusing on "one thing," you should prepare thoroughly for behavioral questions related to Amazon's Leadership Principles using the STAR method (Situation, Task, Action, Result). Be ready to provide specific and detailed examples that showcase your skills and how you align with their culture. A common question you might encounter early on, though not the only important one, is: "Tell me about yourself" or "Why Amazon?" This is your opportunity to make a strong first impression and highlight your relevant skills and interest in the company, potentially tying it to a Leadership Principle that resonates with you.
Apr 15, 2025

It's impossible to know the one thing that a specific interviewer at Amazon might ask you, as questions vary greatly depending on the role, the interviewer, and the stage of the interview process. However, if you're trying to anticipate a very important aspect of the Amazon interview, it would be the behavioral questions tied to their Leadership Principles. While there isn't a single question they always ask, you can almost guarantee you will be asked multiple "Tell me about a time when..." questions that are designed to assess how you've demonstrated their core values in past situations. Therefore, instead of focusing on "one thing," you should prepare thoroughly for behavioral questions related to Amazon's Leadership Principles using the STAR method (Situation, Task, Action, Result). Be ready to provide specific and detailed examples that showcase your skills and how you align with their culture. A common question you might encounter early on, though not the only important one, is: "Tell me about yourself" or "Why Amazon?" This is your opportunity to make a strong first impression and highlight your relevant skills and interest in the company, potentially tying it to a Leadership Principle that resonates with you.

Viewing 1521 - 1530 interview questions

Glassdoor has 5,158 interview questions and reports from Software development engineer in test interviews. Prepare for your interview. Get hired. Love your job.