Product engineer Interview Questions
product engineer interview questions shared by candidates
Top Interview Questions
In the 2nd round they asked: 1. An egg has to be boiled which takes exactly 11 minutes to boil. There are only 2 sand watches available to you one of 9 minutes and the other of 5 minutes. Using only these sand watches boil the egg. 2. A shopkeeper sells 1 new bottle of cold drink in exchange of 5 empty bottles of cold drink. A guy had a party last Friday for which he bought 77 bottles of cold drink. After the party the guy has 77 empty bottles of cold drink. How many new bottles can the guy buy? It takes 4 flips to calculate 11 minutes. You have tu turn both sand watches same time as anyone of them is been finished first. $ = 1 minute and @ = Flip. $$$$$@$$$$@$@$ Explanation: Once 5 minute over and flip both watches. Timer is 4 minute and 5 minute as 4 minute over flip the watch so till now 9 minutes over now watches running for 1 minute and 9 minute. Once 1 minute over flip watches again watches running for 1 Minute and 5 Minute. Once one minute watch is finished egg is cooked. It takes 4 flips to calculate 11 minutes. You have tu turn both sand watches same time as anyone of them is been finished first. $ = 1 minute and @ = Flip. $$$$$@$$$$@$@$ Explanation: Once 5 minute over and flip both watches. Timer is 4 minute and 5 minute as 4 minute over flip the watch so till now 9 minutes over now watches running for 1 minute and 9 minute. Once 1 minute over flip watches again watches running for 1 Minute and 5 Minute. Once one minute watch is finished egg is cooked. Show more responses |
write a singleton class in c++ |
Given an array representing insertion order in a BST, find the root-to-node path for any given node. |
Find the kth minimum element in an array without sorting |
1c) Given an array of of 0,1,2 sort the array maintaining the position of the elements, i.e, the 1 appeared at index 2 should come first before the 1 at index 5, when sorted. |
how to use a diode to create digital signals from analog input? |
what is semaphore |
It includes basic concepts, IPC, OS fundamentals. Given some real world problem scenarios, how you will solve it. |
1b) Generate binary numbers till given N. One or more comments have been removed. |
Basics on Linux like, command to display all kind of files, command for moving file from one host to another. Then few basics on SQL like joins and some commonly used queries. |