⟩ You have 12 balls. All of them are identical except one, which is either heavier or lighter than the rest. The odd ball is either hollow while the rest are solid, or solid while the rest are hollow. You have a scale, and are permitted three weighing. Can you identify the odd ball, and determine whether it is hollow or solid?
This is a pretty complex question, and there are actually multiple solutions. First, we'll examine what thought processes an interviewer is looking for, and then we'll discuss one solution.
Start with the simplest of observations. The number of balls you weigh against each other must be equal. Yeah, it's obvious, but why? Because if you weigh, say three balls against five, you are not receiving any information. In a problem like this, you are trying to receive as much information as possible with each weighing.
For example, one of the first mistakes people make when examining this problem is that they believe the first weighing should involve all of the balls (six against six). This weighing involves all of the balls, but what type of information does this give you? It actually gives you no new information. You already know that one of the sides will be heavier than the other, and by weighing six against six, you will simply confirm this knowledge. Still, you want to gain information about as many balls as possible (so weighing one against one is obviously not a good idea). Thus the best first weighing is four against four.