Medicine tablet (Pill) taking puzzle
Doctor gave you two types of medicine tablets (pils) A and B, and asked you to take one from each daily. The two tablets are in different bottles and look exactly same One day, while taking the pills, you open Bottle-A and tap one pill out in your hand. Then you open the second bottle to […]
Coin heap puzzle
You are blindfolded and 10 coins are place in front of you on table. 5 are having their heads-side up and 5 are having their tails-side facing upward. You cannot tell which way they are by touching the coin. You are allowed to touch the coins and flip them as many times as you want. How […]
Prisoners and the lightbulb puzzle
There are 10 prisoners are in 10 different cells of a prison. There is no way in which they can communicate with each other. Each night, the warden picks one of the 10 prisoners and that prisoner is supposed to spend the entire night in the central living room. There is one bulb in the living […]
Gold bar puzzle
You have some work to be done by a worker in 7 days. The worker need to be paid every day after his work. The total cost of the work of 7 days is one gold bar (so every day the worker must be paid 1/7’th of the bar). You have only one gold bar, and […]
Points on globe – Interview puzzle
How many points are there on the globe, so that if you walk 1km south, then 1km east and then 1km north, you reach the place where you started.
Fastest horse Interview question
There are twenty five horses and you can conduct a race of only five horses at one time. There is no way to find out the absolute speed of a horse (we only know there relative speed). At least how many races will it take to determine the three fastest horses?
Count all left nodes in a Binary tree
One way to ask this question is: Given a Binary tree that represent a family hierarchy. A parent can have at most two children (at most one girl child and at most one boy child). A girl child (if present) is always represented as left child in the binary tree, and a boy child (if present) […]
5 Pirates Puzzle dividing 1000 coins
There are 5 pirates, A, B, C, D and E. They have a strict hierarchy, A is senior to B, B is senior to C, C is senior to D and D is senior to E. So it is like (A > B > C > D > E). These pirates have 1000 gold coins […]
Maximum distance with 50 bikes each having fuel capacity of 100 kms
There are 50 bikes, each with a tank that has the capacity to go 100 kms (when the fuel is full). Fuel tanks of all the bikes are full. Using these 50 bikes, what is the maximum distance that you can go?
Number of Rectangles on a chess board
Earlier we discussed, how to calculate total number of squares (of all sizes) on the chess board. Here, the problem is, How many rectangles (of any size) will be there on the chess board?