I was asked a pretty straight forward brain teaser during my last phone interview, which they said they don't normally do, but because I put that I was a logical problem solver on my resume they couldn't resist the opportunity to. It was the following "There are 20 different socks of two types in a drawer in a completely dark room. What is the minimum number of socks you should grab to ensure you have a matching pair?"
Lead Test Engineer Interview Questions
9,766 lead test engineer interview questions shared by candidates
Given a list of n numbers. All numbers except one are unique. Find the number with duplicate entry.
Find from alist of numbers where each number is repeating even number of times except one. Find that number ?
Consider a stack of N number of cards which are piled up and in facing down. Each card has a unique number from the range 1 to N. The card is stacked in such a way that it exhibits the following behavior: Take the first card and put it under the stack without revealing. Now the next card on the top will have the number 1 on it. Next take 2 cards one after the other and put is under the stack without revealing. Yes you guessed it right - the next card on the top will reveal a value of 2. This goes on. Eg. for such a series : 9,1,8,5,2,4,7,6,3,10 [for N=10] Write a program to generate such a series for a given N number of cards so that this behavior can be exercised.
In a given sorted array of integers remove all the duplicates.
I dont want to talk about it
Sort Binary Arrays - {0,1,0,1,1,1,0,0,0,1}
None of the questions were unexpected, at least for any candidate applying for this job. I definitely felt I could have answered few questions better.
Tell me about yourself
Do you currently have your Mot qualification?
Viewing 1 - 10 interview questions