Software De Front End Interview Questions

21,103 software de front end interview questions shared by candidates

Imagine you had three boxes One contains two black marbles One contains two white marbles One contains both a black and a white marble Each box was labeled with their correct contents (BB, WW, BW). However a malevolent intern has swapped the labels so that they are all incorrect. You are allowed to take one marble out of a box and look at it, without looking inside. Using this method, what is the minimum number of draws you need to determine the contents of all three boxes?
avatar

Front End Web Developer

Interviewed at Ad Exchange Group

4.2
Aug 14, 2016

Imagine you had three boxes One contains two black marbles One contains two white marbles One contains both a black and a white marble Each box was labeled with their correct contents (BB, WW, BW). However a malevolent intern has swapped the labels so that they are all incorrect. You are allowed to take one marble out of a box and look at it, without looking inside. Using this method, what is the minimum number of draws you need to determine the contents of all three boxes?

Viewing 321 - 330 interview questions

Glassdoor has 21,103 interview questions and reports from Software de front end interviews. Prepare for your interview. Get hired. Love your job.