Front End Web Developer Interview Questions

794 front end web developer 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 11 - 20 interview questions

Glassdoor has 794 interview questions and reports from Front end web developer interviews. Prepare for your interview. Get hired. Love your job.