You have 100 balls (50 black balls and 50 white balls) and 2 buckets. How do you divide the balls into the two buckets so as to maximize the probability of selecting a black ball if 1 ball is chosen from 1 of the buckets at random?

Just to be perfectly clear, you are assuming that one of the two buckets is chosen at random and then one of the balls from that bucket is chosen at random.  You want to put 1 black ball in 1 of the buckets and all of the other 99 balls in the other bucket.   This gives you just slightly less than a 75% change of having a black ball chosen.  The math works as follows:  There’s a 50% chance of selecting the bucket containing 1 ball with a 100% chance of selecting a black ball from that bucket.  And a 50% chance of selecting the bucket containing 99 balls with a ~49.5% (49/99) chance of selecting a black ball from that bucket.  Total probability of selecting a black ball is (50% % 100%) + (50% * 49.5%) = 74.7%.

A car travels a distance of 60 miles at an average speed of 30 mph. How fast would the car have to travel the same 60 mile distance home to average 60 mph over the entire trip?

Most people say 90 mph but this is actually a trick question!  The first leg of the trip covers 60 miles at an average speed of 30 mph.  So, this means the car traveled for 2 hours (60/30).  In order for the car to average 60 mph over 120 miles, it would have to travel for exactly 2 hours (120/60).  Since the car has already traveled for 2 hours, it is impossible for it to average 60 mph over the entire trip.

Three envelopes are presented in front of you by an interviewer. One contains a job offer, the other two contain rejection letters. You pick one of the envelopes. The interviewer then shows you the contents of one of the other envelopes, which is a rejection letter. The interviewer now gives you the opportunity to switch envelope choices. Should you switch?

The answer is yes.  Say your original pick was envelope A.  Originally, you had a 1/3 chance that envelope A contained the offer letter.  There was a 2/3 chance that the offer letter was either in envelope B or C.  If you stick with envelope A, you still have the same 1/3 chance.  Now, the interviewer eliminated one of the envelopes (say, envelope B), which contained a rejection letter.  So, by switching to envelope C, you now have a 2/3 chance of getting the offer and you’ve doubled your chances.

Note that you will often get this same question but referring to playing cards (as in 3-Card Monte) or doors (as in Monte Hall/Let’s Make a Deal) instead of envelopes.

A windowless room has 3 lightbulbs. You are outside the room with 3 switches, each controlling one of the lightbulbs. If you can only enter the room one time, how can you determine which switch controls which lightbulb?

Turn on two switches (call them A and B) on and leave them on for a few minutes.  Then turn one of them off (switch B) and enter the room.  The bulb that is lit is controlled by switch A.  Touch the other two bulbs (they should be off).  The one that is still warm is controlled by switch B.  The third bulb (off and cold) is controlled by switch C.

You are given 12 balls and a scale. Of the 12 balls, 11 are identical and 1 weighs EITHER slightly more or less. How do you find the ball that is different using the scale only three times AND tell if it is heavier or lighter than the others?

Significantly harder than the last question!  Weigh 4 vs 4 (1st Weighing).  If they are identical then you know that all of 8 of these are “normal” balls.  Take 3 “normal” balls and weigh them against 3 of the unweighed balls (2nd Weighing).  If they are identical, then the last ball is “different.”  Take 1 “normal” ball and weigh against the “different” one (3rd Weighing).  Now you know if the “different” ball is heavier or lighter.

If, on the 2nd weighing, the scales are unequal then you now know if the “different” ball is heavier (if the 3 non-normal balls were heavier) or lighter (if the 3 non-normal balls were lighter).  Take the 3 “non-normal” balls and weigh 1 against the other (3rd Weighing).  If they are equal then the third ball not weighed is the “different” one.  If they are not equal then either the heavier or lighter ball is “different” depending on if the 3 “non-normal” balls were heavier or lighter in the 2nd Weighing.

If, on the 1st Weighing, the balls were not equal then at least you know that the 4 balls not weighed are “normal.”  Next, take 3 of the “normal balls” and 1 from the heavier group and weigh against the 1 ball from the lighter group plus the 3 balls you just replaced from the heavier group (2nd Weighing).  If they are equal then you know that the “different” ball is lighter and is 1 of the 3 not weighed.  Of these 3, weigh 1 against 1 (3rd Weighing)  If one is lighter, that is the “different” ball, otherwise, the ball not weighed is “different” and lighter.

If, on the 2nd weighing from the preceding paragraph, the original heavier group (containing 3 “normal” balls) is still heavier, then either one of the two balls that were NOT replaced are “different.”  Take the one from the heavier side and weigh against a normal ball (3rd Weighing).  If it is heavier, it is “different,” and heavier otherwise the ball not weighed is “different” and lighter.  If, on the 2nd weighing, the original lighter side is now heavier, then we know that one of the 3 balls we replaced is “different.”  Weigh one of these against the other (3rd Weighing).  If they are equal, the ball not weighed is “different” and heavier.  Otherwise, the heavier ball is the “different” one (and is heavier).

If you get this right and can answer within the 30 minutes alloted for the interview, then you probably do deserve the job.

You are given 12 balls and a scale. Of the 12 balls, 11 are identical and 1 weighs slightly more. How do you find the heavier ball using the scale only three times?

First, weigh 5 balls against 5 balls (1st Use of Scale).  If the scale is equal, then discard those 10 balls and weigh the remaining 2 balls against each other (Second Use of Scale).  The heavier ball is the one you are looking for.

If on the first weighing (5 vs 5), one group is heavier, then of the heavier group weigh 2 against 2 (2nd Use of Scale).  If they are equal, then the 5th ball from the heavier group (the one not weighed) is the one you are looking for.  If one of the groups of 2 balls is heaver, then take the heaver group of 2 balls and weigh them against each other (Third Use of Scale).  The heavier ball is the one you are looking for.

You’ve got a 10 x 10 x 10 cube made up of 1 x 1 x 1 smaller cubes. The outside of the larger cube is completely painted red. On how many of the smaller cubes is there any red paint?

First, note that the larger cube is made up of 1000 smaller cubes.  The easiest way to think about this is how many cubes are NOT painted?  8 x 8 x 8 inner cubes are not painted which equals 512 cubes.  Therefore, 1000 – 512 = 488 cubes that have some paint.  Alternatively, we can calculate this by saying that two 10 x 10 sides are painted (200) plus two 10 x 8 sides (160) plus two 8 x 8 sides (128).  200 + 160 + 128 = 488.

Four investment bankers need to cross a bridge at night to get to a meeting. They have only one flashlight and 17 minutes to get there. The bridge must be crossed with the flashlight and can only support two bankers at a time. The Analyst can cross in 1 minute, the Associate can cross in 2 minutes, the VP can cross in 5 minutes and the MD takes 10 minutes to cross. How can they all make it to the meeting in time?

First, the Analyst takes the flashlight and crosses the bridge with the Associate.  This takes 2 minutes.  The Analyst then returns across the bridge with the flashlight taking 1 more minute (3 minutes passed so far).  The Analyst gives the flashlight to the VP and the VP and MD cross together taking 10 minutes (13 minutes passed so far).  The VP gives the flashlight to the Associate, who recrosses the bridge taking 2 minutes (15 minutes passed so far).  The Analyst and Associate now cross the bridge together taking 2 more minutes.  Now, all are across the bridge at the meeting in exactly 17 minutes.   Note, that instead of investment bankers, you’ll often see the same question using members of musical bands (usually either the Beatles or U2).

You are given a 3-gallon jug and a 5-gallon jug. How do you use them to get 4 gallons of liquid?

Fill the 5-gallon jug completely.  Pour the contents of the 5-gallon jug into the 3-gallon jug, leaving 2 gallons of liquid in the 5-gallon jug.  Next, dump out the contents of the 3-gallon jug and pour the contents of the 5-gallon jug into the 3-gallon jug.  At this point, there are 2 gallons in the 3-gallon jug.  Fill up the 5-gallon jug and then pour the contents of the 5-gallon jug into the 3-gallon jug until the 3-gallon jug is full.  You will have poured 1 gallon, leaving 4 gallons in the 5-gallon jug.