Product engineer intern Interview Questions
56Product Engineer Intern interview questions shared by candidates
Most of the questions were things like, "You work for a company that manufactures blenders. How do you test this blender?" They're basically looking for you to consider every possible angle in which you would test this product-- Who's the user, what's your company's warranty, how does it handle standard products, how well does it make a milkshake, how does it handle rocks if you put them in there, should it handle rocks, etc. They also asked me to test an office printer, an ATM machine, and a web browser. The coding questions I was asked were things like, "Given an unsorted array with n elements where every element except for one is duplicated in the array, how do you find the unique element?"2 Answers
For finding the unique element, I said I'd traverse the array and add a value of 1 into a hashmap (with the element as the key) as I encountered them. If any element I encountered in the array already appeared in the hashmap, I would increment the value by 1. The only element with a value of 1 would be the singleton. Less
You can xor every element of the array together with 0, the remaining element is the unduplicated one. O(n) time, O(1) space. Less
You have an unlimited amount of eggs at a 100 story building. Explain how you would find the lowest floor an egg can drop from without breaking using the least amount of testing eggs possible.1 Answers
only 1 egg is needed. starting from the 2nd floor and try go up one by one.