Software Engineer in Test Interview Questions
- 0of 0 votes
AnswersWhat are Unit and Integrationtesting.
- Royal February 10, 2014 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test - 0of 0 votes
AnswersWAP fibonoccaci series using recursion and after completion asked to to write using iteration.
- Royal February 10, 2014 in United States
write testcases for the above| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test - 0of 0 votes
Answershow do you test elevator
- Royal February 10, 2014 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test - 0of 2 votes
AnswersDifference between blackbox and whitebox
- Royal February 10, 2014 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test - 0of 0 votes
AnswersThis was asked to one of my friends in her telephonic interview with ADP.
- Jeanclaude February 07, 2014 in United States
Imagine you have a 5x5 matrix containing integers... If any of the elements in this original matrix is 0, then your resultant matrix should have the corresponding row and column filled with 0s. For e.g. if 1st element of 1st row, 2nd element of 2nd row......up to 5th element of 5th row are all 0s, then your resultant 5x5 matrix should be all 0s. Your code should be flexible and work for any size of matrix (not just with 5x5).| Report Duplicate | Flag | PURGE
ADP Software Engineer in Test - 0of 0 votes
Answersgiven 2 arrays wrds[] , chars[] as an input to a function such that
- goldy_ssb February 06, 2014 in United States
wrds[] = [ "abc" , "baa" , "caan" , "an" , "banc" ]
chars[] = [ "a" , "a" , "n" , "c" , "b"]
Function should return the longest word from words[] which can be constructed from the chars in chars[] array.
for above example - "caan" , "banc" should be returned
Note: Once a character in chars[] array is used, it cant be used again.
eg: words[] = [ "aat" ]
characters[] = [ "a" , "t" ]
then word "aat" can't be constructed, since we've only 1 "a" in chars[].| Report Duplicate | Flag | PURGE
Apple Software Engineer in Test - 0of 0 votes
AnswersForgot to add this question along with my previous...
- Jeanclaude January 27, 2014 in United States
This is a brain teaser type question...
S E N D
+
M O R E
--------------
M O N E Y
--------------
Each of the above characters hold a specific value which is unique (meaning no two characters have same value). Now the question is, to uncover what value each character stands for...
(Hint - 'M' has to be 1 because it's the carry in the result (M O N E Y). Now similarly back track the rest of the characters)
Note: this hint is given by me, for the sake of understanding the question for interested folks, it was not given to me in the interview).| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test - 0of 0 votes
AnswersImagine we have a large string like this "ABCBAHELLOHOWRACECARAREYOUIAMAIDOINGGOOD" which contains multiple palindromes within it, like ABCBA, RACECAR, ARA, IAMAI etc... Now write a method which will accept this large string and return the largest palindrome from this string. If there are two palindromes which are of same size, it would be sufficient to just return any one of them.
- Jeanclaude January 22, 2014 in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test String Manipulation - 0of 0 votes
AnswersFirst find out the number 1's in the binary digit of a given integer. Then find out an integer which is greater than the given integer and contains same number of binary 1's
- Arunkumar V January 21, 2014 in India| Report Duplicate | Flag | PURGE
Software Engineer in Test C Coding - 0of 0 votes
AnswersHow to find the adjacent elements of an single dimensional array whose difference is 1; What is the Time Complexity & Auxiliary Space you use ? What type of efficiency can be achieved?
- soul January 08, 2014 in India for Chennai| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test Arrays - 0of 0 votes
AnswersHow to sort an single dimensional array whose elements are {4,5,6,4,5,6}; What is the Time Complexity & Auxiliary Space you use ? What type of efficiency can be achieved?
- soul January 08, 2014 in India for Chennai| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test Arrays - 0of 0 votes
AnswersWAP to check if a binary tree is balanced
- Royal December 25, 2013 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test - -1of 1 vote
Answerswhich is the bestway to implement stack/queue (would you go for arrays/linkedlist/arraylist etc) explain pros and cons
- Royal December 25, 2013 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test - 0of 0 votes
AnswersWrite a program to check if a binary tree is balanced
- Royal December 25, 2013 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test - 0of 0 votes
AnswersUsing the following function signature, write a C# function that prints out every combination of indices using Console.WriteLine() whose values add up to a specified sum, n. Values of 0 should be ignored.
- koshinski December 16, 2013 in United States for XBOX
public void PrintSumCombinations(List<int> numbers, int n);
• It’s okay to use additional private functions to implement the public function
• Be sure to print out the indices of numbers and not the values at those indices
• Don’t worry too much about memory or CPU optimization; focus on correctness
To help clarify the problem, calling the function with the following input:
List<int> numbers = new List<int> { 1, 1, 2, 2, 4 };
PrintSumCombinations(numbers, 4);
Should result in the following console output (the ordering of the different lines isn’t important and may vary by implementation):
0 1 2 (i.e. numbers[0] + numbers[1] + numbers[2] = 1 + 1 + 2 = 4)
0 1 3
2 3
4| Report Duplicate | Flag | PURGE
Megasoft Software Engineer in Test Algorithm Arrays - 0of 0 votes
AnswersGiven two strings remove duplicates and test it
- AVK November 08, 2013 in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test - 0of 0 votes
AnswersGiven a function to reverse a linked list write code to test the function
- AVK November 08, 2013 in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test - 1of 1 vote
AnswersRemove common characters from two strings and print the common characters and test cases
- AVK November 08, 2013 in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test - 1of 1 vote
AnswersDelete m nodes for every n nodes in linked list and write the test cases
- AVK November 08, 2013 in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test - -8of 8 votes
AnswersGiven a result in string of pass, fail, blocked, unknown as pppppppfffffbbbbbuuuuu or pppppppppppppppfffffff or pfpfpfpfpfpfpfpfpuuuuuuuuu or any combination of characters from p,f,b, or unknown character say u or x or y or z... question is write a program which can identity a pattern like all tests passed or all tests are failing or tests started failing (blocking issue may be) or unknown pattern... this is what my friend recall if someone also faced this question and recall better explaination , please add.. interviewer asked to code the solution not algo...
- Jack Williams November 01, 2013 in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Coding - 0of 2 votes
Answers###Print numbers between 45 to 4578 without repeating digits.###
- Anonymous September 24, 2013 in India
Ex: 45-ALLOWED;55(repeatng digits)(-NOT ALLOWED. Frnd tld ths 2 me.he tried diff concepts but interviewer wanted an OPTIMAL ONE..LETS C WHO WRITE THIS WITH SIMPLE LOGIC..| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test - -2of 2 votes
Answers##Pretty much interested question asked in AMAZON Written test##
- Anonymous September 19, 2013 in India
Take a string, store it as digits; str="678876". Now Check if the given str return TWO EQUAL PARTS with equal sum (6+7+8=8+7+6);if it is correct then replace the str(678876) in the new string, str1="12345876678"
Final output should be: "12345678876"
I tried this ..but the interviewer didnt satisfy..| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test - -1of 3 votes
Answers##NEVER SKIP THIS QUESTION..ASKED IN AMAZON###
- Anonymous September 18, 2013 in India
Take THREE arrays,like arr1={1,3,5,7,9}; arr2={1,2,3,5,4,1,8,9,7};arr3={1,3,5,7,9,2,1,4,6,5,8};Now find out the Duplicates of First two(arr1,arr2) arrays and store it in new another array arr4(should contain only duplicates,no unique elements).Now compare arr3 with arr4.You should return only UNIQUE elements from both of the array.If found, return it, else return -1.| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test - 0of 0 votes
AnswersWrite code to search and return all those file names present in a given directory (for e.g. C:\>) where the string "Amazon" is present. All the files will be located at different folder levels. Also discuss your approach, time and space complexities for your solution.
- Jeanclaude September 12, 2013 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test - 1of 7 votes
AnswersWrite a method to determine if two strings are anagrams of each other.
- nsvbry August 14, 2013 in United States
e.g. isAnagram(“secure”, “rescue”) → false
e.g. isAnagram(“conifers”, “fir cones”) → true
e.g. isAnagram(“google”, “facebook”) → false| Report Duplicate | Flag | PURGE
Google Software Engineer in Test - 2of 2 votes
AnswersI have a list of several million words unsorted.
- Anon August 08, 2013 in United States
How can you find the largest and the smallest words that can be typed by a single hand on a qwerty-style keyboard? Following the rules of finger placement, a word can either be typed fully on the left-hand side of the keyboard, the right-hand side, or both. Find the largest and smallest left-hand word(s), and the largest and smallest right-hand word(s).
given: millions of words, unsorted
given: set of left-hand chars - a,s,d,f,...
given: set of right-hand chars - j,k,l...| Report Duplicate | Flag | PURGE
Google Software Engineer in Test Data Structures - 0of 0 votes
AnswersGiven array of words, group the anagrams
- abhinav27rulez July 29, 2013 in United States
IP:{tar,rat,banana,atr}
OP:{[tar,rat,atr],[banana]}| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswersGiven any string (for e.g. "abfdRacecaRAbAorTITabcdef" find all the palindromes and return the longest one. Discuss the approach before you actually go ahead and code.
- Jeanclaude July 23, 2013 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test