Engineer Ii Interview Questions

26,048 engineer ii interview questions shared by candidates

You are given a predefined function which generates random number from 1 to 5. You need to use this function and create another function which will generate random number from 1 to 7. Now most important thing is to remember that new random function should be even (i.e. the number generated should be unpredictable, and evenly spaced out).
avatar

Software Engineer II

Interviewed at eBay

3.9
Mar 28, 2011

You are given a predefined function which generates random number from 1 to 5. You need to use this function and create another function which will generate random number from 1 to 7. Now most important thing is to remember that new random function should be even (i.e. the number generated should be unpredictable, and evenly spaced out).

Given a balance and marbles where one marble weighs more than the other, how many times do you have to use the balance to find the heaviest marble for 7 marbles. Then, extend that answer to how many marbles can you weigh with 4 tries.
avatar

Software Development Engineer II

Interviewed at Expedia Group

3.7
Nov 5, 2012

Given a balance and marbles where one marble weighs more than the other, how many times do you have to use the balance to find the heaviest marble for 7 marbles. Then, extend that answer to how many marbles can you weigh with 4 tries.

Viewing 71 - 80 interview questions

Glassdoor has 26,048 interview questions and reports from Engineer ii interviews. Prepare for your interview. Get hired. Love your job.