“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?”
Lead Web Developer Interview Questions
9,456 lead web developer interview questions shared by candidates
How to discover if the given number is Power of 2 ?
Print the number of occurrences of a number in a sorted array of numbers. Input: 1 2 3 4 4 4 4 4 5 6 7 | 4 Ouput: 5
What are Closures?
Nothing about that?
Describe Javascript closures.
How do you handle multiple projects at once?
Are you willing to stay in our company for later periods or were you planning on staying temporarily, for just a couple of months?
You are designing a roller coaster, would you make four trains with five carts each or five trains with four carts each, why?
Trying to remember the question exactly... Something like: Soroka has a banana stand. In her first month, she sells 200 bananas at $0.10 profit per banana. In her second month, how many bananas does she need to sell- so that the combined average from the first and second month is $0.16 per banana?
Viewing 11 - 20 interview questions