Technology Interview Questions

79,261 technology interview questions shared by candidates

“Imagine that you have three boxes, one containing two black marbles, one containing two white marbles, and the third, one black marble and one white marble. The boxes were labeled for their contents - BB, WW, BW - but someone has switched the labels so that every box is now incorrectly labeled. You are allowed to take one marble at a time out of any box, without looking inside, and by this process of sampling you are to determine the contents of all three boxes. What is the smallest number of drawings needed to do this?”
avatar

Web Technology Intern

Interviewed at Riot Games

3.9
Apr 26, 2014

“Imagine that you have three boxes, one containing two black marbles, one containing two white marbles, and the third, one black marble and one white marble. The boxes were labeled for their contents - BB, WW, BW - but someone has switched the labels so that every box is now incorrectly labeled. You are allowed to take one marble at a time out of any box, without looking inside, and by this process of sampling you are to determine the contents of all three boxes. What is the smallest number of drawings needed to do this?”

Viewing 51 - 60 interview questions

Glassdoor has 79,261 interview questions and reports from Technology interviews. Prepare for your interview. Get hired. Love your job.