Software Development Test Engineer Interview Questions

5,411 software development test engineer interview questions shared by candidates

#2 - Medium Question: Sequential Display As an architect, you were given a vacant plot of land with K consecutive sections. Each section has the capacity to display one architectural element. Your goal is to create a design pattern, represented by a string S with a length N > K. However, due to space limitations, you need to display the string in N-K+1 stages. In the i-th stage (1≤i≤N-K+1), you will arrange the architectural elements to showcase the characters s[i], s[i+1], ..., s[i+K-1]. The energy required to transition from stage i to stage i+1 (for 1≤i≤N-K) is directly proportional to the number of architectural elements that need to be rearranged between these stages. You need to determine the total energy required for the entire process of displaying the string, which is the sum of energies required for transitioning between all consecutive pairs of stages.
Dec 7, 2024

#2 - Medium Question: Sequential Display As an architect, you were given a vacant plot of land with K consecutive sections. Each section has the capacity to display one architectural element. Your goal is to create a design pattern, represented by a string S with a length N > K. However, due to space limitations, you need to display the string in N-K+1 stages. In the i-th stage (1≤i≤N-K+1), you will arrange the architectural elements to showcase the characters s[i], s[i+1], ..., s[i+K-1]. The energy required to transition from stage i to stage i+1 (for 1≤i≤N-K) is directly proportional to the number of architectural elements that need to be rearranged between these stages. You need to determine the total energy required for the entire process of displaying the string, which is the sum of energies required for transitioning between all consecutive pairs of stages.

Questions regarding the basic data structures.. They just needed us to give optimal solution to all the questions that were asked ...Questions regarding trees,linked list , Bst ,Heap were asked ...Just make sure that you give a straight forward answer to all the questions
avatar

Software Development Engineer In Test

Interviewed at Amazon

3.5
Oct 13, 2017

Questions regarding the basic data structures.. They just needed us to give optimal solution to all the questions that were asked ...Questions regarding trees,linked list , Bst ,Heap were asked ...Just make sure that you give a straight forward answer to all the questions

-Few language specific questions on Java -- what are private/public/package, who can access variable and methods given one of these? -What is a hashtable, how would you implement one? -Binary trees/AVL trees, what can you tell me about them. -Given two texts, x and y, where x < y, check if all the characters of x are in y. -Given a string, find the longest repeating substring.
Oct 3, 2014

-Few language specific questions on Java -- what are private/public/package, who can access variable and methods given one of these? -What is a hashtable, how would you implement one? -Binary trees/AVL trees, what can you tell me about them. -Given two texts, x and y, where x < y, check if all the characters of x are in y. -Given a string, find the longest repeating substring.

Viewing 1031 - 1040 interview questions

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