Tag Archives: Interview Riddles

100 Prisoners and a Light bulb

light-bulb-100-prisoner-350x250

Problem: There are 100 prisoners are in solitary cells, unable to see, speak or communicate in any way with each other. There’s a central living room with one light bulb, the bulb is initially off. No prisoner can see the light bulb from his own cell. Everyday, the warden picks a prisoner at random, and Read More →

3 Bulbs and 3 Switches

3 bulbs and 3 switches puzzle

This puzzle is perhaps not as ‘pure’ as the others, it doesn’t reduce to a mathematical model. But it is quite a common question asked in interviews so it’s worth looking at it… Problem: You are in a room with 3 switches which correspond to 3 bulbs in another room and you don’t know which Read More →

Measure 4 gallon of water from 3 gallon and 5 gallon water jar

measure 4 gallon water using 3 and 4 gallon jar

Problem : How to measure exactly 4 gallon of water from 3 gallon and 5 gallon jars, Given, you have unlimited water supply from a running tap. Solution: Step 1. Fill 3 gallon jar with water. ( 5p – 0, 3p – 3) Step 2. Pour all its water into 5 gallon jar. (5p – Read More →

10 identical bottles of pills

This is a very popular brain teaser with many companies. Problem : We have 10 identical bottles of identical pills (each bottle contain hundred of pills). Out of 10 bottles 9 have 1 gram of pills but 1 bottle has pills of weight of 1.1 gram. Given a measurement scale, how would you find the Read More →