Identifying the Heavier Ball Among Eight
Finding the Heaviest Ball Among Eight is an easy quant interview question on Brain Teasers.
This classic brain teaser presents a small set of seemingly identical objects, with exactly one that differs by being heavier. You are given an old-fashioned balance scale and asked to design a minimal sequence of weighings that is guaranteed to reveal the odd ball. The challenge is not mechanical but strategic: you must decide how to group and compare the objects so that every possible outcome of each weighing still leads to a clear plan for the next step, and ultimately to a unique identification of the heavy one.
The question leans on ideas from information theory and search algorithms, especially how to design optimal tests when each test can have multiple outcomes. It relies on partitioning the possibility space effectively, exploiting the three-way result of a balance scale. Interviewers use it to see whether a candidate can think in terms of decision trees, reason about the information content of each action, and maintain a clean, systematic strategy rather than resorting to ad hoc trial and error.
What it tests
The core structure behind this problem is information elimination through partitioning: each weighing is a way to split the set of possibilities as evenly as possible, maximizing the information gained per step. The balance scale gives a trinary outcome (left heavier, right heavier, or equal), so the optimal strategy is to divide the objects into three groups of as equal size as possible at each step. This approach minimizes the number of weighings needed to isolate the unique item. The underlying reason this works is that each weighing can distinguish among three scenarios, so the minimum number of weighings needed is determined by how many times you can divide the total number of possibilities by three until only one remains. This is a classic example of applying base-3 (ternary) search logic to physical objects.
Practise this question with written feedback, or hear it in a spoken mock interview.
Get started free