Classic math puzzles for job interviews
scribd.com
Classic math puzzles for job interviews
1–10 of 21 posts
Re: Classic math puzzles for job interviews
#2Re: Classic math puzzles for job interviews
#3100 bottles, divide into 2 groups, feed mouse...
Separate poisoned bottles into 2 groups feed mouse..
basically 100,50,25,12,6,3,1 ... 6 mice needed.
Re: Classic math puzzles for job interviews
#4Re: Classic math puzzles for job interviews
#5on the mouse one, could you not mix wines? 100 bottles, divide into 2 groups, feed mouse... Separate poisoned bottles into 2 groups feed mouse.. basically 100,50,25,12,6,3,1 ... 6 mice needed.
Re: Classic math puzzles for job interviews
#6These problems are a lot of fun and in most cases there are interesting general lessons in their solutions, but the way the interview system seems to work is that every year there's a new book or sheet of puzzles that everyone memorizes and then pretends to have never seen before when asked during an interview.
Re: Classic math puzzles for job interviews
#7Re: Classic math puzzles for job interviews
#8on the mouse one, could you not mix wines? 100 bottles, divide into 2 groups, feed mouse... Separate poisoned bottles into 2 groups feed mouse.. basically 100,50,25,12,6,3,1 ... 6 mice needed.
There is only 1 day. Wouldn't you just separate the bottles evenly across all the mice?
Hint: Look at the number of possible outcomes. In this case, each of the 10 mice can either live or die. That gives us 2^10 = 1024 possible outcomes. We can only encounter 1000 possible initial configurations of bottles. Is there a way to set it up so that each of the 1000 possible outcomes maps to an initial configuration?
Re: Classic math puzzles for job interviews
#9I was told a story about this problem by a professor while in class. Supposedly, Edgser Djisktra couldn't sleep one night due to jet lag. He was currently going through a phase in which was exercising the power of thought, practicing thought-exercises such as these without a pencil and paper. While in bed that night, awake due to jet lag, he solved this problem. The professor told us that none of us were smart enough to solve this problem. Hardly seems worthy of one star. :)
Re: Classic math puzzles for job interviews
#10Earlier quoted context omitted.
There is only 1 day. Wouldn't you just separate the bottles evenly across all the mice?
That way you could serve 900 bottles. Can you serve more? Hint: Look at the number of possible outcomes. In this case, each of the 10 mice can either live or die. That gives us 2^10 = 1024 possible outcomes. We can only encounter 1000 possible initial configurations of bottles. Is there a way to set it up so that each of the 1000 possible outcomes maps to an initial configuration?