There are 9 similar balls. Eight of them weigh the same and the ninth is a bit heavier.
How would you identify the heavier ball if you could use a two-pan balance scale only twice?

Divide the 9 balls into 3 groups of 3. Weigh two groups. Thus you find out which group is the heavier ball in. Choose 2 balls from this group and compare their weights. And that's it.