Thursday, October 20, 2011
Morgan Stanley
Tuesday, October 11, 2011
Two fathers and their sons
Good to see so many people actually trying out puzzles I posted. Seeing more than 600 hits in 5 days(200 on Sunday) was quite impressive.
Thanks for the suggestions especially regarding the last two posts. For many of you those were very easy puzzles but main motive behind those was to get away from the mathematical point of view and think in a slightly different way. So, if those are easy, then lets solve some easy puzzles.
Some also asked about the solutions of the puzzles I have posted. To solve that problem, I will request the puzzle solvers to put your solutions on the blog rather than discussing it on the chat with me. This way, many people might benefit from your solutions and also, I won't have to write all the solutions by myself.
Here are few more puzzles. Have fun solving puzzles!
1. In a rectangle that's 2 by 200 units long, it's trivial to draw 400 non-overlapping unit-diameter circles. But in the same rectangle, can you draw 401 circles? (non-overlapping, unit-diameter.)
2. Two fathers took their sons to a fruit stall. Each man and son bought an apple, But when they returned home, they had only 3 apples. They did not eat, lost, or thrown. How could this be possible?
3. If F(n) denotes the nth Fibonacci number. Then, prove that F(k*n) is a multiple of F(k).
Please leave your solutions as comments. Thanks!
Sunday, October 9, 2011
Logic Puzzles-2
2. Three Palefaces were taken captive by a hostile Indian tribe. According to tribe’s custom they had to pass an intelligence test, or die. The chieftain showed 5 headbands – 2 red and 3 white. The 3 men were blindfolded and positioned one after another, face to back. The chief put a headband on each of their heads, hid two remaining headbands, and removed their blindfolds. So the third man could see the headbands on the two men in front of him, the second man could see the headband on the first, and the first could not see any headbands at all.
According to the rules any one of the three men could speak first and try to guess his headband color. And if he guessed correctly – they passed the test and could go free, if not – they failed. It so happened that all 3 Palefaces were prominent logicians from a nearby academy. So after a few minutes of silence, the first man in the line said: "My headband is ...".
What color was his head band? Why?
Logic Puzzles
Have fun solving puzzles!
1. A man who lives on the tenth floor takes the elevator down to the first floor every morning and goes to work. In the evening, when he comes back; on a rainy day, or if there are other people in the elevator, he goes to his floor directly. Otherwise, he goes to the seventh floor and walks up three flights of stairs to his apartment. Can you explain why? (Courtsey Harshvardhan Mandad)
This puzzle is taken from the movie Fermat's Room(nice movie)
2. There are two rooms. In one of the room A, there are three light bulbs and in another room B, there are three switches corresponding to these bulbs. Initially, you are in the room B
How can you identify which switch correspond to which bulb with just one trip to room A.
3. How can you throw a ball as hard as you can and have it come back to you, even if it doesn't bounce off anything? There is nothing attached to it, and no one else catches or throws it back to you.
4. You are in a room with no metal objects except for two iron rods. Only one of them is a magnet. How can you identify which one is a magnet?
Probability Puzzles
Saturday, October 8, 2011
Mantra Treat
Problem in this post is more like a research problem than a puzzle and won't be asked in any interview or written test. So, if you don't want to solve such a puzzle then skip this part and solve the second problem. This problem was part of an R&D project, we are doing with Prof. Nutan Limaye. I and Pritish have been trying this problem for quite some time. Although we have some solutions but optimal solution still seems to be hidden somewhere.
Some definitions:
Depth: Length of the longest path from input to the output.
Problem: Given two numbers in binary form (n bit numbers), can you make a addition circuit using O(n*log(n)) gates in O(1) depth? Only and, or, not gates are allowed. Number of inputs to a gate can be arbitrary large.
No treat for the next puzzle:
2. Does there exist a number of the form 1111.....111 that is divisible by 2097? Explain your answer.